2024.12.17 03:14:00.009730 [ 664 ] {} Context: Server was built with sanitizer. It will work slowly. 2024.12.17 03:14:00.015075 [ 664 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2024.12.17 03:14:08.415101 [ 664 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2024.12.17 03:14:08.779810 [ 664 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.12.17 03:14:08.780695 [ 664 ] {} KeeperLogStore: Removing all changelogs 2024.12.17 03:14:08.782760 [ 664 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.12.17 03:14:08.785772 [ 664 ] {} KeeperStateManager: No state was read 2024.12.17 03:14:08.785843 [ 664 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.12.17 03:14:08.785892 [ 664 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.12.17 03:14:08.836795 [ 896 ] {} RaftInstance: Election timeout, initiate leader election 2024.12.17 03:14:08.922183 [ 664 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.12.17 03:14:08.922286 [ 664 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.12.17 03:14:09.168120 [ 664 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.12.17 03:15:25.690753 [ 1029 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e5c079 in /usr/bin/clickhouse 3. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e5bcbc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/TransformEndianness.hpp:18: Coordination::ZooKeeper::receiveEvent() @ 0x000000003fb2ab6b in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb29b22 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb3dc32 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:25.790832 [ 1030 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:57882 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000003fad6727 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:647: Coordination::ZooKeeper::sendThread() @ 0x000000003fb27c69 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb3d572 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:25.999732 [ 1029 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049d118ce in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d2ec3a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::shutdown() @ 0x0000000049d33b99 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x0000000049d3e84e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:969: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000003fb16b0f in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb2a68e in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb3dc32 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:27.618716 [ 1077 ] {58822572-acad-46be-bd3c-c9d640789285} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: While processing arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35370) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f69c09a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f69ab9e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6d5df1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:15:28.432146 [ 1077 ] {58822572-acad-46be-bd3c-c9d640789285} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: While processing arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f69c09a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f69ab9e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6d5df1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:15:28.432329 [ 1128 ] {330b6b5e-5f8a-4e28-b9ed-d330128dc897} executeQuery: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: While executing AggregatingTransform. (AGGREGATE_FUNCTION_THROW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35376) (comment: 02963_msan_agg_addBatchLookupTable8.sql) (in query: -- https://github.com/ClickHouse/ClickHouse/issues/58727 SELECT number % 2 AS even, aggThrow(number) FROM numbers(10) GROUP BY even;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x000000002a6e359b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Aggregator.cpp:926: void DB::Aggregator::createAggregateStates(char*&) const @ 0x0000000038058048 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Aggregator.cpp:1169: void std::__invoke_void_return_wrapper::__call, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&>(void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&) @ 0x000000003832b894 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&), void (char*&)>>(std::__function::__policy_storage const*, char*&) @ 0x000000003832b449 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::IAggregateFunctionDataHelper::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x000000002a6e4845 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:1160: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000038328308 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000003805857a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037ddd05a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:28.810330 [ 1132 ] {3c22361e-e0b6-4fc4-ae89-89734c045308} DynamicQueryHandler: Code: 246. DB::Exception: Too large uncompressed size: 4294967295. (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecMultiple.cpp:0: DB::CompressionCodecMultiple::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x00000000368e3544 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369ce6ea in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x00000000368a9de3 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:0: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000368a3e93 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000362013d7 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377fc643 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ab3c0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:29.255449 [ 1133 ] {5e407989-3d1f-4e42-8da3-c6e2097fef1f} executeQuery: Code: 36. DB::Exception: Tables have different secondary indices. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35438) (comment: 02888_attach_partition_from_different_tables.sql) (in query: ALTER TABLE attach_partition_t2 ATTACH PARTITION tuple() FROM attach_partition_t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000009434857 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa85c0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7462: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa961f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da791a8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf37bcc in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:29.255586 [ 1128 ] {330b6b5e-5f8a-4e28-b9ed-d330128dc897} TCPHandler: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: While executing AggregatingTransform. (AGGREGATE_FUNCTION_THROW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x000000002a6e359b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Aggregator.cpp:926: void DB::Aggregator::createAggregateStates(char*&) const @ 0x0000000038058048 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Aggregator.cpp:1169: void std::__invoke_void_return_wrapper::__call, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&>(void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&) @ 0x000000003832b894 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&), void (char*&)>>(std::__function::__policy_storage const*, char*&) @ 0x000000003832b449 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::IAggregateFunctionDataHelper::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x000000002a6e4845 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:1160: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000038328308 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000003805857a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037ddd05a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:29.673094 [ 670 ] {42d61cbc-d337-4eae-8d29-e48ac876b407} DynamicQueryHandler: Code: 271. DB::Exception: Cannot decompress, the number of elements in the compressed data (65) is not equal to the expected number of elements in the decompressed data (1). (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecT64.cpp:0: DB::CompressionCodecT64::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x000000003691ddef in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369ce6ea in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x00000000368a9de3 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:0: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000368a3e93 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000362013d7 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377fc643 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ab3c0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:30.081805 [ 1132 ] {c55b2537-fb44-46b0-9d18-c19b3a8d1683} DynamicQueryHandler: Code: 246. DB::Exception: Wrong data for compression codec NONE: source_size (278) != uncompressed_size (33686018). (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int&) @ 0x00000000349c640d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecNone.cpp:38: DB::CompressionCodecNone::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x00000000368d80db in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369ce6ea in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:174: DB::CompressionCodecMultiple::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x00000000368e2615 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369ce6ea in /usr/bin/clickhouse 7. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x00000000368a9de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:0: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000368a3e93 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000362013d7 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377fc643 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ab3c0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 14. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:30.081860 [ 1133 ] {5e407989-3d1f-4e42-8da3-c6e2097fef1f} TCPHandler: Code: 36. DB::Exception: Tables have different secondary indices. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000009434857 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa85c0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7462: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa961f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da791a8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf37bcc in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:30.082188 [ 1077 ] {fa4aa565-3c5c-4186-b4ea-72fad4e20d82} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: While processing arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35370) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f69c09a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f69ab9e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6d5df1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:15:30.083518 [ 1077 ] {fa4aa565-3c5c-4186-b4ea-72fad4e20d82} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: While processing arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f69c09a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f69ab9e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6d5df1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:15:30.981832 [ 1133 ] {85259a21-95ac-4fea-a00f-291b05eca330} executeQuery: Code: 36. DB::Exception: Tables have different projections. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35438) (comment: 02888_attach_partition_from_different_tables.sql) (in query: ALTER TABLE attach_partition_t4 ATTACH PARTITION tuple() FROM attach_partition_t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a769237 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa8647 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7462: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa961f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da791a8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf37bcc in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:31.347373 [ 1133 ] {85259a21-95ac-4fea-a00f-291b05eca330} TCPHandler: Code: 36. DB::Exception: Tables have different projections. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a769237 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa8647 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7462: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000003cfa961f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da791a8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf37bcc in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:31.347441 [ 1129 ] {77911aca-d3be-4d98-88d7-4779d1de9dbb} executeQuery: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', sys);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000349ec175 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:178: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e49aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:31.600221 [ 1129 ] {77911aca-d3be-4d98-88d7-4779d1de9dbb} TCPHandler: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000349ec175 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:178: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e49aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:31.601045 [ 1132 ] {} TCPHandler: Code: 702. DB::Exception: Client info's client_name does not match: ClickHouse client not equal to Hacker client. (CLIENT_INFO_DOES_NOT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:160: DB::TCPHandler::receiveQuery() @ 0x000000003e0e0f08 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0be47e in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:31.602056 [ 1132 ] {} TCPHandler: Can't skip data packets after query failure. 2024.12.17 03:15:31.608888 [ 1129 ] {423de418-b710-4df3-b959-db4e8e0a561e} executeQuery: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000349ec175 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:178: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e49aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:31.609492 [ 1129 ] {423de418-b710-4df3-b959-db4e8e0a561e} TCPHandler: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000349ec175 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:178: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e49aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:32.090775 [ 1129 ] {75d9d70a-b950-417b-91ef-1636f20e9ebf} executeQuery: Code: 60. DB::Exception: Table system.o does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.o);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:51: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c5886a8 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593230 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:32.335332 [ 1132 ] {} TCPHandler: Code: 702. DB::Exception: Client info's version does not match: 20.13.0 (54443) not equal to 16.13.1 (54443). (CLIENT_INFO_DOES_NOT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:168: DB::TCPHandler::receiveQuery() @ 0x000000003e0e1627 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0be47e in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:32.703719 [ 1128 ] {8cb63389-d856-4368-a186-6dff3c7eeb89} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 'test_aliases' in scope alias2. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35508) (comment: 02834_analyzer_with_statement_references.sql) (in query: WITH test_aliases AS (SELECT number FROM numbers(20)), alias2 AS (SELECT number FROM test_aliases) SELECT number FROM alias2 SETTINGS enable_global_with_statement = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5946: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737a40 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974b721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397618f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:32.703730 [ 1129 ] {75d9d70a-b950-417b-91ef-1636f20e9ebf} TCPHandler: Code: 60. DB::Exception: Table system.o does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:51: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c5886a8 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593230 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:32.704233 [ 1132 ] {} TCPHandler: Can't skip data packets after query failure. 2024.12.17 03:15:32.864367 [ 1837 ] {657d7760-2638-49a9-ac91-ce8fee1af0e3} OptimizeRegularExpression: Analyze RegularExpression failed, got error: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fdedf9e3000, frame address: 0x7fdedfde2fa0, stack size: 4194400, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:33.081545 [ 1077 ] {0ebba925-7417-49b4-bbf5-e78fe77e28ec} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35524) (comment: 02833_window_func_range_offset.sql) (in query: -- invalid start offset with RANGE SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN 0.0 PRECEDING AND UNBOUNDED FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:33.081630 [ 1128 ] {8cb63389-d856-4368-a186-6dff3c7eeb89} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 'test_aliases' in scope alias2. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5946: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737a40 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974b721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397618f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:33.605050 [ 1077 ] {0ebba925-7417-49b4-bbf5-e78fe77e28ec} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:33.610341 [ 1837 ] {657d7760-2638-49a9-ac91-ce8fee1af0e3} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((, error: missing ): ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing match('', repeat('(', 100000)). (CANNOT_COMPILE_REGEXP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35546) (comment: 02831_regexp_analyze_recursion.sql) (in query: SELECT match('', repeat('(', 100000));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x00000000208a4399 in /usr/bin/clickhouse 4. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171cb4b4 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171c0a73 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:15:34.068112 [ 1129 ] {dbc56e70-e57f-412e-8a98-6e70449915d1} executeQuery: Code: 47. DB::Exception: Missing columns: 'default' while processing query: 'default', required columns: 'default' 'default'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.one, default);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000003bb61750 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5bc97 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x00000000349f0ba7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e7e82 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:34.069306 [ 1837 ] {657d7760-2638-49a9-ac91-ce8fee1af0e3} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((, error: missing ): ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing match('', repeat('(', 100000)). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x00000000208a4399 in /usr/bin/clickhouse 4. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171cb4b4 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171c0a73 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:15:34.529286 [ 1129 ] {dbc56e70-e57f-412e-8a98-6e70449915d1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'default' while processing query: 'default', required columns: 'default' 'default'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000003bb61750 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5bc97 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x00000000349f0ba7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e7e82 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:34.529389 [ 1859 ] {4f36aa2e-e484-4d76-80e5-2f5132b66da0} executeQuery: Code: 36. DB::Exception: Parameter for aggregate function groupArrayMovingAvg should be positive integer. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43634) (comment: 02817_group_array_moving_zero_window_size.sql) (in query: SELECT groupArrayMovingAvg ( toInt64 ( 0 ) ) ( toDecimal32 ( 1 , 1 ) );), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArrayMoving.cpp:274: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMoving(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a4ab27a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:34.529477 [ 1077 ] {49beb2e5-10dd-4f3b-900d-8a1170feb3f9} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35524) (comment: 02833_window_func_range_offset.sql) (in query: SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN nan PRECEDING AND UNBOUNDED FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:34.530206 [ 1859 ] {4f36aa2e-e484-4d76-80e5-2f5132b66da0} TCPHandler: Code: 36. DB::Exception: Parameter for aggregate function groupArrayMovingAvg should be positive integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArrayMoving.cpp:274: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMoving(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a4ab27a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:34.530297 [ 1077 ] {49beb2e5-10dd-4f3b-900d-8a1170feb3f9} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:34.919479 [ 1129 ] {ff716693-7cf7-43a9-b7f7-fc68ea94d52d} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, default, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.291114 [ 1077 ] {d6c7bab8-bcc5-484b-a448-3df968980cd0} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35524) (comment: 02833_window_func_range_offset.sql) (in query: -- invalid end offset with RANGE SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN UNBOUNDED PRECEDING AND 0.0 FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.291161 [ 1129 ] {ff716693-7cf7-43a9-b7f7-fc68ea94d52d} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.532684 [ 1837 ] {b2e5f6d6-e858-43f9-a7af-76ebd1e5394d} executeQuery: Code: 80. DB::Exception: CREATE INDEX without TYPE is forbidden. SET allow_create_index_without_type=1 to ignore this statements. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43672) (comment: 02813_create_index_noop.sql) (in query: CREATE INDEX idx_tab1_0 on tab1 (col0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [105]) @ 0x0000000034a72bd7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateIndexQuery.cpp:0: DB::InterpreterCreateIndexQuery::execute() @ 0x0000000039a9d11e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.532700 [ 1077 ] {d6c7bab8-bcc5-484b-a448-3df968980cd0} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.533611 [ 1837 ] {b2e5f6d6-e858-43f9-a7af-76ebd1e5394d} TCPHandler: Code: 80. DB::Exception: CREATE INDEX without TYPE is forbidden. SET allow_create_index_without_type=1 to ignore this statements. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [105]) @ 0x0000000034a72bd7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateIndexQuery.cpp:0: DB::InterpreterCreateIndexQuery::execute() @ 0x0000000039a9d11e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.543259 [ 1129 ] {40dfe15b-76f9-467c-928d-df1946147f9f} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.one, default, key1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.544189 [ 1129 ] {40dfe15b-76f9-467c-928d-df1946147f9f} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.546878 [ 1077 ] {cca0490f-8d24-4026-acf7-d1d582732786} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35524) (comment: 02833_window_func_range_offset.sql) (in query: SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN UNBOUNDED PRECEDING AND nan FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.547814 [ 1077 ] {cca0490f-8d24-4026-acf7-d1d582732786} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.554953 [ 1129 ] {67135bef-3370-49cf-ba90-3f3c748ff330} executeQuery: Code: 47. DB::Exception: Missing columns: 'key1' while processing query: 'key1', required columns: 'key1' 'key1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, 'default', '[HIDDEN]', key1)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000003bb61750 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5bc97 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x00000000349f0ba7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e7e82 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.555754 [ 1129 ] {67135bef-3370-49cf-ba90-3f3c748ff330} TCPHandler: Code: 47. DB::Exception: Missing columns: 'key1' while processing query: 'key1', required columns: 'key1' 'key1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000003bb61750 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5bc97 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x00000000349f0ba7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e7e82 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.567303 [ 1129 ] {86f9c14f-f7bd-4e75-b360-d8bfe295dafa} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, default, '[HIDDEN]', key1)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.568144 [ 1129 ] {86f9c14f-f7bd-4e75-b360-d8bfe295dafa} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.576998 [ 1129 ] {f2761cc3-848b-4193-b1cb-5f880d4f35ea} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.one, 'default', pwd, key1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.577776 [ 1129 ] {f2761cc3-848b-4193-b1cb-5f880d4f35ea} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e4807 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.943667 [ 1129 ] {26078765-438c-43e4-8439-734de434ecca} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, 'default', '[HIDDEN]', key1, key2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x00000000349ebd3b in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e45ec in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:35.944363 [ 1129 ] {26078765-438c-43e4-8439-734de434ecca} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x00000000349ebd3b in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e45ec in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:36.313254 [ 1129 ] {a4e3ccb7-2109-4c00-bc2e-2fc9fc9619c9} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system, one, 'default', '[HIDDEN]', key1, key2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x00000000349ebd3b in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e456d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:36.314088 [ 1129 ] {a4e3ccb7-2109-4c00-bc2e-2fc9fc9619c9} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x00000000349ebd3b in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349e456d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:38.325009 [ 1128 ] {972b3d09-f647-46cb-9c91-3e53354a9f6a} executeQuery: Code: 36. DB::Exception: Disk with name `s3_disk` already exist: While processing disk(name = 's3_disk', type = cache, max_size = '100Ki', path = `02808_custom_disk_with_user_defined_name_test_3zqt0nk5`, disk = s3_disk). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43746) (comment: 02808_custom_disk_with_user_defined_name.sh) (in query: CREATE TABLE test (`a` Int32, `b` String) ENGINE = MergeTree ORDER BY tuple() SETTINGS disk = disk(name = 's3_disk', type = cache, max_size = '100Ki', path = `02808_custom_disk_with_user_defined_name_test_3zqt0nk5`, disk = s3_disk), index_granularity = 16500, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 9045, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 3731650, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 44056, primary_key_compress_block_size = 11029), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Disks/getOrCreateDiskFromAST.cpp:56: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003d5d1242 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr) @ 0x000000003d5ce1e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeSettings.cpp:68: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr) @ 0x000000003d574604 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:605: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0517e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:38.784510 [ 1128 ] {972b3d09-f647-46cb-9c91-3e53354a9f6a} TCPHandler: Code: 36. DB::Exception: Disk with name `s3_disk` already exist: While processing disk(name = 's3_disk', type = cache, max_size = '100Ki', path = `02808_custom_disk_with_user_defined_name_test_3zqt0nk5`, disk = s3_disk). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Disks/getOrCreateDiskFromAST.cpp:56: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003d5d1242 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr) @ 0x000000003d5ce1e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeSettings.cpp:68: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr) @ 0x000000003d574604 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:605: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0517e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:38.784584 [ 1830 ] {8fe9cf65-9e30-4b68-81d1-e3dbe17f7cca} executeQuery: Code: 59. DB::Exception: Illegal type Int128 of column materialize(toInt128(-2)) for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43752) (comment: 02794_pushdown_invalid_get.sql) (in query: SELECT * FROM (SELECT toInt128(NULL) AS x UNION ALL SELECT materialize(toInt128(-2))) WHERE x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000003ebacd6d in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000003f104581 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x0000000039b717e1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54479 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8ae95 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b68b95 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:38.785632 [ 1830 ] {8fe9cf65-9e30-4b68-81d1-e3dbe17f7cca} TCPHandler: Code: 59. DB::Exception: Illegal type Int128 of column materialize(toInt128(-2)) for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000003ebacd6d in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000003f104581 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x0000000039b717e1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54479 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8ae95 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b68b95 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:41.714456 [ 1386 ] {7d5c5964-ec0e-45d2-9a84-d3974b41f032} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'a' by first 1 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43870) (comment: 02783_max_bytes_to_read_in_schema_inference.sql) (in query: desc format('JSONEachRow', '{"a" : null}, {"a" : 42}') settings input_format_max_bytes_to_read_for_schema_inference=10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034b038f3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:41.715665 [ 1386 ] {7d5c5964-ec0e-45d2-9a84-d3974b41f032} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'a' by first 1 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034b038f3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:43.156537 [ 1128 ] {44df343a-1aa6-4f42-b579-0b5f2296b483} executeQuery: Code: 407. DB::Exception: Numeric overflow: while executing 'FUNCTION plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))) :: 3, multiply(number, 9223372036854775807) :: 2) -> plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))), multiply(number, 9223372036854775807)) DateTime : 4'. (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43910) (comment: 02772_jit_date_time_add.sql) (in query: SELECT DISTINCT result FROM (SELECT toStartOfFifteenMinutes(toDateTime(toStartOfFifteenMinutes(toDateTime(1000.0001220703125) + (number * 65536))) + (number * 9223372036854775807)) AS result FROM system.numbers LIMIT 1048576) ORDER BY result DESC NULLS FIRST FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c73b86f in /usr/bin/clickhouse 4. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c73934e in /usr/bin/clickhouse 5. DB::DateTimeAddIntervalImpl::execute(DB::AddSecondsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c72c9f5 in /usr/bin/clickhouse 6. DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c7290dd in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 12. DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000001b13b11a in /usr/bin/clickhouse 13. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b138255 in /usr/bin/clickhouse 14. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:43.158072 [ 1128 ] {44df343a-1aa6-4f42-b579-0b5f2296b483} TCPHandler: Code: 407. DB::Exception: Numeric overflow: while executing 'FUNCTION plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))) :: 3, multiply(number, 9223372036854775807) :: 2) -> plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))), multiply(number, 9223372036854775807)) DateTime : 4'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c73b86f in /usr/bin/clickhouse 4. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c73934e in /usr/bin/clickhouse 5. DB::DateTimeAddIntervalImpl::execute(DB::AddSecondsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c72c9f5 in /usr/bin/clickhouse 6. DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c7290dd in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 12. DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000001b13b11a in /usr/bin/clickhouse 13. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b138255 in /usr/bin/clickhouse 14. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:43.685502 [ 1130 ] {a3aba40d-2909-45f5-b35b-62b41b36855c} executeQuery: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58398) (comment: 02772_s3_crash.sql) (in query: SELECT * FROM s3(headers('random_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000034a7c89a in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:196: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034a7e62a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:44.014384 [ 1130 ] {a3aba40d-2909-45f5-b35b-62b41b36855c} TCPHandler: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000034a7c89a in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:196: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034a7e62a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:44.014447 [ 1129 ] {15607862-b59c-45b3-aab2-f15095848e7c} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 2.00 million, current rows: 2.00 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43890) (comment: 02781_data_skipping_index_merge_tree_min_for_seek.sql) (in query: SELECT * FROM data WHERE v1 >= now() - INTERVAL 180 DAY FORMAT Null SETTINGS max_threads=1, max_final_threads=1, force_data_skipping_indices='v1_index', merge_tree_min_rows_for_seek=1, max_rows_to_read=1999999;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:44.015161 [ 1129 ] {15607862-b59c-45b3-aab2-f15095848e7c} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 2.00 million, current rows: 2.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:44.431360 [ 1130 ] {7043c56d-e1d7-4faf-8611-d9534faa431c} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58398) (comment: 02772_s3_crash.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', headers('random_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000034a7c89a in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/ITableFunctionCluster.h:68: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000034aa3ddb in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:196: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034a7e62a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034aa2feb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:44.432181 [ 1130 ] {7043c56d-e1d7-4faf-8611-d9534faa431c} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000034a7c89a in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/ITableFunctionCluster.h:68: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000034aa3ddb in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:196: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034a7e62a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034aa2feb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:46.065983 [ 1680 ] {3a117625-ccdb-4244-8bd1-003f4e483b58} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:46.069047 [ 1680 ] {3a117625-ccdb-4244-8bd1-003f4e483b58} ConnectionPoolWithFailover: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:46.072016 [ 1680 ] {3a117625-ccdb-4244-8bd1-003f4e483b58} ConnectionPoolWithFailover: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:46.161384 [ 1830 ] {450356ae-c110-412c-a354-959eb4a2e468} executeQuery: Code: 344. DB::Exception: FINAL modifier is not supported with parallel replicas. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58528) (comment: 02765_parallel_replicas_final_modifier.sql) (in query: SELECT * FROM parallel_replicas_final FINAL FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000bfd0c77 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:485: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b241d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:46.162199 [ 1830 ] {450356ae-c110-412c-a354-959eb4a2e468} TCPHandler: Code: 344. DB::Exception: FINAL modifier is not supported with parallel replicas. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000bfd0c77 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:485: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b241d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:47.179194 [ 1694 ] {cdb32758-359b-4b40-ba3b-7968d6e99fc2} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:47.179532 [ 1694 ] {cdb32758-359b-4b40-ba3b-7968d6e99fc2} ConnectionPoolWithFailover: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:47.180012 [ 1694 ] {cdb32758-359b-4b40-ba3b-7968d6e99fc2} ConnectionPoolWithFailover: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:48.249816 [ 1130 ] {67b7eb32-e6fd-41bd-abe0-a302d96f4998} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('exact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:48.250742 [ 1130 ] {67b7eb32-e6fd-41bd-abe0-a302d96f4998} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:48.703410 [ 1130 ] {37aedc08-1231-47f4-9107-aecc94deee43} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('cAsE_INSENSITIVE_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:48.704418 [ 1130 ] {37aedc08-1231-47f4-9107-aecc94deee43} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:49.173679 [ 1130 ] {78ac4d56-8438-449f-aea5-379a47010857} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('bad_header_name: test\nexact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:49.174922 [ 1130 ] {78ac4d56-8438-449f-aea5-379a47010857} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:49.189716 [ 1130 ] {033935a7-249e-4cec-814e-7f784af0995b} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('bad_header_value' = 'test\nexact_header: value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:49.190703 [ 1130 ] {033935a7-249e-4cec-814e-7f784af0995b} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cff22 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, String const&, std::vector> const&, String const&, void, void>(std::allocator&, DB::StorageURL*, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a47d47 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000034a4795e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a4419d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:49.872310 [ 1130 ] {e3eb5c2c-4329-422b-91ce-b25264da2fd3} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('exact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:49.873203 [ 1130 ] {e3eb5c2c-4329-422b-91ce-b25264da2fd3} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:50.304923 [ 1130 ] {3fa66851-c692-4a72-ab39-56ffa0b58319} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('cAsE_INSENSITIVE_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:50.587672 [ 1130 ] {3fa66851-c692-4a72-ab39-56ffa0b58319} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:50.587820 [ 1658 ] {56f979a4-04e4-4474-88b0-3bd547a7e224} ExternalDictionariesLoader: Could not load external dictionary 'dd4120c0-4ea2-46b1-bf66-6b93fc657330', next update is scheduled at 2024-12-17 03:15:55: Code: 36. DB::Exception: dd4120c0-4ea2-46b1-bf66-6b93fc657330: max_load_factor parameter should be within [0.5, 0.99], got 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, float&) @ 0x000000002c1bb24d in /usr/bin/clickhouse 3. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d234b in /usr/bin/clickhouse 4. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3d39f7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:50.589573 [ 1386 ] {56f979a4-04e4-4474-88b0-3bd547a7e224} executeQuery: Code: 36. DB::Exception: dd4120c0-4ea2-46b1-bf66-6b93fc657330: max_load_factor parameter should be within [0.5, 0.99], got 1. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58656) (comment: 02740_hashed_dictionary_load_factor_smoke.sql) (in query: -- should because of MAX_LOAD_FACTOR is 1 (maximum allowed value is 0.99) SYSTEM RELOAD DICTIONARY test_dictionary_load_factor_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, float&) @ 0x000000002c1bb24d in /usr/bin/clickhouse 3. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d234b in /usr/bin/clickhouse 4. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3d39f7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:50.590592 [ 1386 ] {56f979a4-04e4-4474-88b0-3bd547a7e224} TCPHandler: Code: 36. DB::Exception: dd4120c0-4ea2-46b1-bf66-6b93fc657330: max_load_factor parameter should be within [0.5, 0.99], got 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, float&) @ 0x000000002c1bb24d in /usr/bin/clickhouse 3. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d234b in /usr/bin/clickhouse 4. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3d39f7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:51.034211 [ 1130 ] {02060f0e-2070-4407-b32d-c6b4668ab69d} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('bad_header_name: test\nexact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:51.035654 [ 1130 ] {02060f0e-2070-4407-b32d-c6b4668ab69d} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:51.052353 [ 1130 ] {e295d3d8-b6cf-4270-b3f4-db1034862359} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('bad_header_value' = 'test\nexact_header: value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:51.053274 [ 1130 ] {e295d3d8-b6cf-4270-b3f4-db1034862359} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:54: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000003c5180f6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x0000000034a4d2a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a49bfb in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:51.822506 [ 1386 ] {68aa99c0-e30a-4cff-9ce2-7df0cf44f086} executeQuery: Code: 36. DB::Exception: Unexpected type Array(Nothing) in function 'transform': While processing caseWithExpr(arrayReduce(NULL, []), []). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58768) (comment: 02732_transform_fuzz.sql) (in query: SELECT caseWithExpr(arrayReduce(NULL, []), []);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x000000001d683f71 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ab9ec in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. DB::(anonymous namespace)::FunctionCaseWithExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ec7f4bb in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:15:52.267246 [ 1386 ] {68aa99c0-e30a-4cff-9ce2-7df0cf44f086} TCPHandler: Code: 36. DB::Exception: Unexpected type Array(Nothing) in function 'transform': While processing caseWithExpr(arrayReduce(NULL, []), []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x000000001d683f71 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ab9ec in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. DB::(anonymous namespace)::FunctionCaseWithExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ec7f4bb in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:15:52.267314 [ 1130 ] {b0d6235e-9cbb-4388-be28-9a40200250ad} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:52.268313 [ 1130 ] {b0d6235e-9cbb-4388-be28-9a40200250ad} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:52.774797 [ 1130 ] {0aadb649-85a2-4196-a418-978486af08fa} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:52.776073 [ 1130 ] {0aadb649-85a2-4196-a418-978486af08fa} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:53.296127 [ 1130 ] {a2a88876-ba3f-4f1d-8e5d-f700b713c619} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:53.297226 [ 1130 ] {a2a88876-ba3f-4f1d-8e5d-f700b713c619} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:53.360025 [ 1130 ] {e14f8e08-c5d4-4c1b-b3d4-08b0cfd0e5c5} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:53.361021 [ 1130 ] {e14f8e08-c5d4-4c1b-b3d4-08b0cfd0e5c5} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000003c330c1b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a982af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000034a97f29 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a8537e in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:53.945985 [ 1130 ] {aa5fcc7d-40c7-44fd-902c-ca1d75cb7968} executeQuery: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x000000003554c1a7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x000000003554acbb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageS3.cpp:431: DB::StorageS3Source::KeysIterator::Impl::next() @ 0x000000003c35679d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:474: DB::StorageS3Source::KeysIterator::next() @ 0x000000003c31d888 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageS3.h:0: DB::StorageS3Source::createReader() @ 0x000000003c322c34 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000003c321186 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000003c3912a5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3377e8 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:53.946889 [ 1130 ] {aa5fcc7d-40c7-44fd-902c-ca1d75cb7968} TCPHandler: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x000000003554c1a7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x000000003554acbb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageS3.cpp:431: DB::StorageS3Source::KeysIterator::Impl::next() @ 0x000000003c35679d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:474: DB::StorageS3Source::KeysIterator::next() @ 0x000000003c31d888 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageS3.h:0: DB::StorageS3Source::createReader() @ 0x000000003c322c34 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000003c321186 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000003c3912a5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3377e8 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:54.379823 [ 1130 ] {61cf0650-a590-4d33-af68-af2ae713c792} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:54.380772 [ 1130 ] {61cf0650-a590-4d33-af68-af2ae713c792} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f1023 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:54.802050 [ 1130 ] {3e6bf51a-6a4d-410d-a933-ab442547aa92} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:55.122653 [ 1130 ] {3e6bf51a-6a4d-410d-a933-ab442547aa92} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0d85 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:55.122705 [ 1386 ] {266519a8-2135-4de4-897e-8e802320491a} BackupsWorker: Failed to start backup Disk('backups', 'test_s3_backup'): Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:43: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036253ea9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003624dd8b in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x00000000360a5f84 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f91d3b in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f87a69 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f860a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a635b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:55.123720 [ 1386 ] {266519a8-2135-4de4-897e-8e802320491a} executeQuery: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49094) (comment: 02731_zero_objects_in_metadata.sh) (in query: BACKUP TABLE test TO Disk('backups', 'test_s3_backup');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:43: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036253ea9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003624dd8b in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x00000000360a5f84 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f91d3b in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f87a69 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f860a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a635b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:55.124869 [ 1386 ] {266519a8-2135-4de4-897e-8e802320491a} TCPHandler: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:43: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036253ea9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003624dd8b in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x00000000360a5f84 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f91d3b in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f87a69 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f860a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a635b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:55.549065 [ 1130 ] {954367f1-fd1d-4258-86a8-81232a7d14f2} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:55.550493 [ 1130 ] {954367f1-fd1d-4258-86a8-81232a7d14f2} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:55.561071 [ 1130 ] {d20ad824-480c-4993-8895-f6a3f57dbb20} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:55.561982 [ 1130 ] {d20ad824-480c-4993-8895-f6a3f57dbb20} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x000000002b1f0ef5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000003c3989fa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x0000000034aa4c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aa0cd7 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:56.331508 [ 2794 ] {8d44ff2b-9962-4007-8250-d666a7a8a63a} executeQuery: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58760) (comment: 02752_forbidden_headers.sql) (in query: SELECT line FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', 'LineAsString', 'line String', headers('random_header' = 'value'))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x000000003554c1a7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x000000003554acbb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000003c322ee1 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000003c321186 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000003c3912a5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3377e8 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:56.342178 [ 2794 ] {8d44ff2b-9962-4007-8250-d666a7a8a63a} TCPHandler: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x000000003554c1a7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x000000003554acbb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000003c322ee1 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000003c321186 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000003c3912a5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3377e8 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:56.652739 [ 1130 ] {703087a8-29b6-4c1b-9a0e-81738e7d751d} executeQuery: Code: 499. DB::Exception: Received from localhost:9000. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x000000003554c1a7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x000000003554acbb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000003c322ee1 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000003c321186 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000003c3912a5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3377e8 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? : While executing Remote. (S3_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58620) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/MultiplexedConnections.cpp:325: DB::MultiplexedConnections::receivePacketUnlocked(std::function) @ 0x000000003de47ed8 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::MultiplexedConnections::receivePacket() @ 0x000000003de47737 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x0000000036a870cd in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x0000000036a8696d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x000000003ee3b6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:56.703872 [ 1130 ] {703087a8-29b6-4c1b-9a0e-81738e7d751d} TCPHandler: Code: 499. DB::Exception: Received from localhost:9000. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x000000003554c1a7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x000000003554acbb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000003c322ee1 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000003c321186 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000003c3912a5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3377e8 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? : While executing Remote. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/MultiplexedConnections.cpp:325: DB::MultiplexedConnections::receivePacketUnlocked(std::function) @ 0x000000003de47ed8 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::MultiplexedConnections::receivePacket() @ 0x000000003de47737 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x0000000036a870cd in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x0000000036a8696d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x000000003ee3b6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:57.242029 [ 2793 ] {ff1e6f24-905e-457a-808f-963ab512d1df} BackupsWorker: Failed to start backup Disk('backups', 'test_s3_backup'): Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:43: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036253ea9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003624dd8b in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x00000000360a5f84 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f91d3b in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f87a69 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f860a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a635b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:15:57.242727 [ 2793 ] {ff1e6f24-905e-457a-808f-963ab512d1df} executeQuery: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49220) (comment: 02731_zero_objects_in_metadata.sh) (in query: BACKUP TABLE test TO Disk('backups', 'test_s3_backup');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:43: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036253ea9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003624dd8b in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x00000000360a5f84 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f91d3b in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f87a69 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f860a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a635b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:57.244011 [ 2793 ] {ff1e6f24-905e-457a-808f-963ab512d1df} TCPHandler: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:43: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036253ea9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003624dd8b in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x00000000360a5f84 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f91d3b in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f87a69 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f860a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a635b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:57.812694 [ 3707 ] {3c3695f3-083e-40d7-8d5e-4018bd7d0947} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49230) (comment: 02710_allow_suspicious_indices.sql) (in query: CREATE TABLE tbl (`id` UInt32) ENGINE = MergeTree ORDER BY (id + 1, id + 1) SETTINGS index_granularity = 23063, min_bytes_for_wide_part = 896398249, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 13274, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 67, min_merge_bytes_to_use_direct_io = 2225381667, index_granularity_bytes = 1171788, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 94971, primary_key_compress_block_size = 73353), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:57.813761 [ 3707 ] {3c3695f3-083e-40d7-8d5e-4018bd7d0947} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:58.383771 [ 3707 ] {efc3cb49-b6ae-4414-b1c2-13162854a12d} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49230) (comment: 02710_allow_suspicious_indices.sql) (in query: CREATE TABLE tbl (`id` UInt32, INDEX idx (id + 1, id + 1) TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 23063, min_bytes_for_wide_part = 896398249, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 13274, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 67, min_merge_bytes_to_use_direct_io = 2225381667, index_granularity_bytes = 1171788, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 94971, primary_key_compress_block_size = 73353), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a620 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:58.384971 [ 3707 ] {efc3cb49-b6ae-4414-b1c2-13162854a12d} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a620 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:58.864688 [ 3707 ] {7530c6ed-69a2-46b6-89ba-a9735d4a71f5} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49230) (comment: 02710_allow_suspicious_indices.sql) (in query: ALTER TABLE tbl ADD COLUMN `id2` UInt32, MODIFY ORDER BY (id1, id2, id2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:59.381636 [ 3707 ] {7530c6ed-69a2-46b6-89ba-a9735d4a71f5} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:59.381702 [ 1837 ] {d25932d2-5208-417a-8971-9c3c7a7f9200} executeQuery: Code: 999. Coordination::Exception: Transaction failed: Op #0, path: /test_keeper_map/test_cev6e467/test_02706_keeper_map_insert_strict/data/AQAAAAAAAAA=. (KEEPER_EXCEPTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49306) (comment: 02706_keeper_map_insert_strict.sql) (in query: INSERT INTO 02706_keeper_map_insert_strict VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, unsigned long, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000003fa56425 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1276: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000003fa57015 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1291: zkutil::KeeperMultiException::check(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000003fa343b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:627: zkutil::ZooKeeper::multi(std::vector, std::allocator>> const&) @ 0x000000003fa342d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: void DB::StorageKeeperMapSink::finalize(bool) @ 0x000000003bdd1a7f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageKeeperMap.cpp:145: DB::StorageKeeperMapSink::onFinish() @ 0x000000003bdcc84c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9fc0f in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9eb24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:59.678557 [ 1130 ] {7ebceddd-bc63-435b-979c-50352ca82aaa} executeQuery: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49278) (comment: 02707_keeper_map_delete_update_strict.sql) (in query: ALTER TABLE 02707_keepermap_delete_update UPDATE key = key * 10 WHERE 1 = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003bdb7ec1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:59.678736 [ 1837 ] {d25932d2-5208-417a-8971-9c3c7a7f9200} TCPHandler: Code: 999. Coordination::Exception: Transaction failed: Op #0, path: /test_keeper_map/test_cev6e467/test_02706_keeper_map_insert_strict/data/AQAAAAAAAAA=. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, unsigned long, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000003fa56425 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1276: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000003fa57015 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1291: zkutil::KeeperMultiException::check(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000003fa343b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:627: zkutil::ZooKeeper::multi(std::vector, std::allocator>> const&) @ 0x000000003fa342d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: void DB::StorageKeeperMapSink::finalize(bool) @ 0x000000003bdd1a7f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageKeeperMap.cpp:145: DB::StorageKeeperMapSink::onFinish() @ 0x000000003bdcc84c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9fc0f in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9eb24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:59.679902 [ 1130 ] {7ebceddd-bc63-435b-979c-50352ca82aaa} TCPHandler: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003bdb7ec1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:59.700458 [ 3707 ] {2b43b70b-124b-4fca-8dc5-44c7f0ef64b8} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49230) (comment: 02710_allow_suspicious_indices.sql) (in query: ALTER TABLE tbl ADD COLUMN `id2` UInt32, MODIFY ORDER BY (id1, id2, id1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:15:59.701431 [ 3707 ] {2b43b70b-124b-4fca-8dc5-44c7f0ef64b8} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:00.201033 [ 3707 ] {52a67f79-9d48-4b88-9f0e-1394464672f4} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49230) (comment: 02710_allow_suspicious_indices.sql) (in query: ALTER TABLE tbl ADD INDEX idx (id+1, id, id+1) TYPE minmax;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a620 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:00.202260 [ 3707 ] {52a67f79-9d48-4b88-9f0e-1394464672f4} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a620 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:00.725528 [ 3707 ] {973b878c-cec1-42e4-8ab4-f37c594b2289} executeQuery: Code: 48. DB::Exception: EXPLAIN QUERY TREE is only supported with a new analyzer. Set allow_experimental_analyzer = 1. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49326) (comment: 02703_explain_query_tree_is_forbidden_with_old_analyzer.sql) (in query: EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [95]) @ 0x000000002a04ea17 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000039666557 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x0000000039656ec4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:01.318453 [ 3707 ] {973b878c-cec1-42e4-8ab4-f37c594b2289} TCPHandler: Code: 48. DB::Exception: EXPLAIN QUERY TREE is only supported with a new analyzer. Set allow_experimental_analyzer = 1. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [95]) @ 0x000000002a04ea17 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000039666557 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x0000000039656ec4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:01.318474 [ 1077 ] {e1e454b9-eaee-4710-97a4-35a68d5e06c7} executeQuery: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?, ?) -> ?) instead: While processing arrayMap((x, y, z) -> (y, x, z), [(1, 2)] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49320) (comment: 02706_array_map_tuples.sql) (in query: WITH [(1, 2)] AS arr1 SELECT arrayMap((x, y, z) -> (y, x, z), arr1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a732e7d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db1cb36 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:16:01.319788 [ 1077 ] {e1e454b9-eaee-4710-97a4-35a68d5e06c7} TCPHandler: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?, ?) -> ?) instead: While processing arrayMap((x, y, z) -> (y, x, z), [(1, 2)] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a732e7d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db1cb36 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:16:01.333284 [ 1077 ] {41a7611a-9a48-403d-8e50-893e83df8c75} executeQuery: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?) -> ?) instead: While processing arrayMap((x, y) -> (y, x), [1, 2] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49320) (comment: 02706_array_map_tuples.sql) (in query: WITH [1, 2] AS arr1 SELECT arrayMap((x, y) -> (y, x), arr1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a732e7d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db1cb36 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:16:01.334180 [ 1077 ] {41a7611a-9a48-403d-8e50-893e83df8c75} TCPHandler: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?) -> ?) instead: While processing arrayMap((x, y) -> (y, x), [1, 2] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a732e7d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db1cb36 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:16:02.236258 [ 791 ] {} test_u0indids.t (922e71d0-4a90-4734-a408-36ab155d5d76): Cannot quickly remove directory /var/lib/clickhouse/store/922/922e71d0-4a90-4734-a408-36ab155d5d76/delete_tmp_all_1_1_1 by removing files; fallback to recursive removal. Reason: Code: 458. DB::ErrnoException: Cannot unlink file /var/lib/clickhouse/store/922/922e71d0-4a90-4734-a408-36ab155d5d76/delete_tmp_all_1_1_1/skp_idx_inv_idx.gin_dict, errno: 2, strerror: No such file or directory. (CANNOT_UNLINK) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:03.308043 [ 1830 ] {08dbdf5f-39b0-4230-9608-8e36431466ee} executeQuery: Code: 131. DB::Exception: Too large string size: 18446744073709551615. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49402) (comment: 02683_native_too_large_size.sql) (in query: SELECT * FROM format('Native', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int32, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, VindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$i WatchIDInt64c*5/ !p~ úFÚÓ“2ql!è–|¨@H²Ç=ÐŒWéòˆE&Ly¹ãk=÷±pæ1þž oíC»-ÞC_ìÒŒ\Û/E‚ÜJÛ{ JavaEnableInt16TitleString GoodEventInt16 EventTimeDateTime7ðâQn$äQÃ)äQ8*äQJîâQÉ ãQµ0äQ83äQ× äQÖ1ãQ EventDateDate>>>>>>>>>> CounterIDInt32ClientIPInt32®Æz·®Æz·®Æz·®Æz·º‹I`®Æz·É^{]É^{]gU®Æz·RegionIDInt32GGGG'GÅÅåGUserIDInt64× ’•:6×Ý× ’•:6×Ý× ’•:6×Ý× ’•:6×Ýq—íJd8 ÎKs}¡ï&n%Št"6&n%Št"6ƒs—yyçóf× ’•:6×Ý CounterClassInt16OSInt16'', UserAgentInt16URLString-http://holodilInt16WindowClientWidthInt16WindowClientHeightInt16ClientTimeZoneInt16ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿClientEventTimeDateTimeîáîáîáîáîáîáîáîáîáîáSilverlightVersion1Int16SilverlightVersion2Int16SilverlightVersion3Int32SilverlightVersion4Int16 PageCharsetString CodeVersionInt32IsLinkInt16 IsDownloadInt16 IsNotBounceInt16FUniqIDInt64%œlû©+k:¤ìWëÂm OriginalURLStringHIDInt32 IsOldCounterInt16IsEventInt16 IsParameterInt16 DontCountHitsInt16WithHashInt16HitColorString5555555555LocalEventTimeDateTime&·ãQǘãQ}žãQÝžãQ'¡ãQA¶ãQ¼£ãQ ¦ãQY’ãQ‹ÏãQAgeInt16SexInt16IncomeInt16 InterestsInt16¦: RobotnessInt16RemoteIPInt32^DIÄ^DIÄ^DIÄ^DIÄ9ê3N^DIÄ…U…U€=k^DIÄ WindowNameInt32ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ OpenerNameInt32ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ HistoryLengthInt16ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿBrowserLanguageString����������BrowserCountryString� � � � � � � � � � SocialNetworkString SocialActionString HTTPErrorInt16 SendTimingInt32 DNSTimingInt32 ConnectTimingInt32ResponseStartTimingInt32ResponseEndTimingInt32 FetchTimingInt32SocialSourceNetworkIDInt16SocialSourcePageString ParamPriceInt64 ParamOrderIDString ParamCurrencyStringNHNHNHNHNHNHNHNHNHNHParamCurrencyIDInt16OpenstatServiceNameStringOpenstatCampaignIDString OpenstatAdIDStringOpenstatSourceIDString UTMSourceString UTMMediumString UTMCampaignString UTMContentStringUTMTermStringFromTagStringHasGCLIDInt16 RefererHashInt64X+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûURLHashInt64Í|3úÐb.‹Í|3úÐb.‹Í|3úÐb.‹Í|3úÐb.‹Ž oâïòeý€ à#â\X-h³ýX vÀvÍÀ‰Çh˜´9›DÍ|3úÐb.‹CLIDInt32$$);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c7fef0c in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:165: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x000000003701842b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000037011124 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/NativeFormat.cpp:43: DB::NativeInputFormat::generate() @ 0x000000003e6e51ca in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034b05079 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034b06b44 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:16:03.309072 [ 1830 ] {08dbdf5f-39b0-4230-9608-8e36431466ee} TCPHandler: Code: 131. DB::Exception: Too large string size: 18446744073709551615. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c7fef0c in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:165: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x000000003701842b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000037011124 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/NativeFormat.cpp:43: DB::NativeInputFormat::generate() @ 0x000000003e6e51ca in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034b05079 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034b06b44 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:16:04.274393 [ 1386 ] {48fa94c0-153e-436c-8bc8-9a6c7ffd9874} executeQuery: Code: 128. DB::Exception: Too large array size (maximum: 1073741824): While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58042) (comment: 02682_quantiles_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(RowBinary, 'ik2 String, Sum AggregateFunction(sum, UInt16), A$g AggregateFunction(quantiles(0.4, 0.9), UInt64), GroupArray AggregateFunction(groupArray, String)', '295TMi44400000005942762421546108502 ö z *  ParalcelParsingInputFormat   te Date, I ! STRING  d Tuple(UInt8) vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvTabSeparatedWithNamesAndTypes d Date, a S)ring, x UInt32, y UInt64, z Float32 29TabSeparatevvvvvvvdRawWithNames a UInt32 26TabSeparatedR,éb UInt32 26TabSeparatedRawWithNthNames vvvvv 1 key U7878 ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000a7a19f8 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x0000000022a487b3 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:193: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000022bdbeaf in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036ecbccc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:78: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000003e483874 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e4915a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034b05079 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034b06b44 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:16:04.578543 [ 1386 ] {48fa94c0-153e-436c-8bc8-9a6c7ffd9874} TCPHandler: Code: 128. DB::Exception: Too large array size (maximum: 1073741824): While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000a7a19f8 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x0000000022a487b3 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:193: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000022bdbeaf in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036ecbccc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:78: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000003e483874 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e4915a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034b05079 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034b06b44 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:16:04.578565 [ 3381 ] {84581adb-b92a-4b9b-bc0f-eecea2c472b6} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:365: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x00000000227751e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:650: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000227e7a5d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000036ece2fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036ecf632 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:0: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x0000000036f7a251 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000003e52fb79 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e4912ac in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7505e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e74c53e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e752aa3 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:04.583115 [ 5009 ] {84581adb-b92a-4b9b-bc0f-eecea2c472b6} executeQuery: Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215): While executing ParallelParsingBlockInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58082) (comment: 02681_group_array_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(CSV, 'entitypArray AggregateFunction(groupArray, String)', '295TMiews.viewNÿÿÿÿÿ""""""TabSeparÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿated d St"" r');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:365: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x00000000227751e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:650: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000227e7a5d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000036ece2fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036ecf632 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:0: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x0000000036f7a251 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000003e52fb79 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e4912ac in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7505e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e74c53e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e752aa3 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:04.584865 [ 5009 ] {84581adb-b92a-4b9b-bc0f-eecea2c472b6} TCPHandler: Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215): While executing ParallelParsingBlockInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:365: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x00000000227751e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:650: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000227e7a5d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000036ece2fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036ecf632 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:0: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x0000000036f7a251 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000003e52fb79 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e4912ac in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7505e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e74c53e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e752aa3 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:07.651432 [ 1837 ] {3845e4a9-e883-4688-bd27-73d5720ee68e} executeQuery: Code: 80. DB::Exception: Secondary index 't_constant_index' cannot contain constants. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58240) (comment: 02670_constant_skip_index.sql) (in query: CREATE TABLE t_constant_index (`id` UInt64, INDEX t_constant_index 'foo' TYPE set(2) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 39691, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 9366, prefer_fetch_merged_part_size_threshold = 567554011, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 640992333, index_granularity_bytes = 11677573, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 74740, primary_key_compress_block_size = 20572), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:85: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d263ad9 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:07.652643 [ 1837 ] {3845e4a9-e883-4688-bd27-73d5720ee68e} TCPHandler: Code: 80. DB::Exception: Secondary index 't_constant_index' cannot contain constants. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:85: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d263ad9 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:08.168826 [ 1837 ] {4eef5922-efc1-4024-a4d6-1d6bb9699855} executeQuery: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `rand()`: for secondary index 't_constant_index'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58240) (comment: 02670_constant_skip_index.sql) (in query: CREATE TABLE t_constant_index (`id` UInt64, INDEX t_constant_index id + rand() TYPE set(2) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 39691, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 9366, prefer_fetch_merged_part_size_threshold = 567554011, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 640992333, index_granularity_bytes = 11677573, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 74740, primary_key_compress_block_size = 20572), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1180: DB::ActionsDAG::assertDeterministic() const @ 0x000000003750e2d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionActions.cpp:800: DB::ExpressionActions::assertDeterministic() const @ 0x0000000037c5d91f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:83: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26378e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:08.169981 [ 1837 ] {4eef5922-efc1-4024-a4d6-1d6bb9699855} TCPHandler: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `rand()`: for secondary index 't_constant_index'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1180: DB::ActionsDAG::assertDeterministic() const @ 0x000000003750e2d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionActions.cpp:800: DB::ExpressionActions::assertDeterministic() const @ 0x0000000037c5d91f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:83: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26378e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:09.291078 [ 1386 ] {1fdf6aac-f2e6-4b43-9a30-80c87ee6a8b0} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%m'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.292001 [ 1386 ] {1fdf6aac-f2e6-4b43-9a30-80c87ee6a8b0} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.307174 [ 1386 ] {5ecd9c9a-fa5e-4535-a6ec-89634a6a119b} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%m'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.308004 [ 1386 ] {5ecd9c9a-fa5e-4535-a6ec-89634a6a119b} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.855399 [ 1386 ] {20f2515a-26e6-473a-9ccc-7ef83d93f0ca} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%m'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:09.856410 [ 1386 ] {20f2515a-26e6-473a-9ccc-7ef83d93f0ca} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:09.928936 [ 1386 ] {8849a446-a5df-4e2f-b77a-885a71c5f697} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%c'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.929743 [ 1386 ] {8849a446-a5df-4e2f-b77a-885a71c5f697} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.942006 [ 1386 ] {4cde53cc-17b1-46cf-8d34-5f04b36434d0} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%c'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.942833 [ 1386 ] {4cde53cc-17b1-46cf-8d34-5f04b36434d0} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac88c8c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:09.956283 [ 1386 ] {af77362b-b062-4ac1-afe3-0da675571c35} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%c'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:09.956964 [ 1386 ] {af77362b-b062-4ac1-afe3-0da675571c35} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:10.546505 [ 1386 ] {bd44b925-e189-411e-957b-e9207b8cd961} executeQuery: Code: 41. DB::Exception: Unable to parse fragment %b from abc because of unknown month of year short text abc: While processing parseDateTime('abc', '%b'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('abc', '%b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001ad3d338 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextShort(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac87d80 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:10.547652 [ 1386 ] {bd44b925-e189-411e-957b-e9207b8cd961} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment %b from abc because of unknown month of year short text abc: While processing parseDateTime('abc', '%b'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001ad3d338 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextShort(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac87d80 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:11.172243 [ 1386 ] {67fc38fa-92f9-4949-bd7f-f0e6b0e24138} executeQuery: Code: 41. DB::Exception: Unable to parse first part of fragment %M from summer because of unknown month of year text: sum: While processing parseDateTime('summer', '%M'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('summer', '%M');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001ad3d338 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextLong(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac93eb9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:11.537106 [ 1129 ] {c54a0b54-6bcd-4c2f-9a92-3f5c5ac7c4cb} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58440) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:11.537171 [ 1386 ] {67fc38fa-92f9-4949-bd7f-f0e6b0e24138} TCPHandler: Code: 41. DB::Exception: Unable to parse first part of fragment %M from summer because of unknown month of year text: sum: While processing parseDateTime('summer', '%M'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001ad3d338 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextLong(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac93eb9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:11.537193 [ 5009 ] {b02c561e-d4fd-4b7e-b350-01a2d12c611a} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58464) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:11.538283 [ 1129 ] {c54a0b54-6bcd-4c2f-9a92-3f5c5ac7c4cb} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:11.538361 [ 5009 ] {b02c561e-d4fd-4b7e-b350-01a2d12c611a} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:12.143244 [ 1386 ] {9c5d6655-790a-457a-adbc-8ec88c2eb592} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:12.695984 [ 1386 ] {9c5d6655-790a-457a-adbc-8ec88c2eb592} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:12.696010 [ 1077 ] {96d47c7a-2ed7-4c4d-b5ef-bfc48e9c2a47} executeQuery: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing BSONEachRowRowInputFormat. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58494) (comment: 02590_bson_duplicate_column.sql) (in query: select * from format(BSONEachRow, 'x UInt32, y UInt32', x'1a0000001078002a0000001078002a0000001079002a00000000');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000003e422eb6 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e41691c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 12. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034b05079 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034b06b44 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:16:12.867753 [ 3428 ] {294b91de-9992-4a87-bcfd-e21f2100b820} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::ParsingException: Size of BSON document is invalid. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000003e41fb15 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000003e425ae9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000003e74a98e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000003e757116 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e756e1f in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 10. ? @ 0x00007fe21c2faac3 in ? 11. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:12.867870 [ 1077 ] {96d47c7a-2ed7-4c4d-b5ef-bfc48e9c2a47} TCPHandler: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing BSONEachRowRowInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000003e422eb6 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e41691c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 12. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034b05079 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034b06b44 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:16:12.870735 [ 5009 ] {294b91de-9992-4a87-bcfd-e21f2100b820} executeQuery: Code: 117. DB::ParsingException: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58534) (comment: 02589_bson_invalid_document_size.sql) (in query: select * from format(BSONEachRow, 'x UInt32', x'00000000');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000003e41fb15 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000003e425ae9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000003e74a98e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000003e757116 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e756e1f in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 10. ? @ 0x00007fe21c2faac3 in ? 11. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:12.872112 [ 5009 ] {294b91de-9992-4a87-bcfd-e21f2100b820} TCPHandler: Code: 117. DB::ParsingException: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000003e41fb15 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000003e425ae9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000003e74a98e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000003e757116 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e756e1f in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 10. ? @ 0x00007fe21c2faac3 in ? 11. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:12.883439 [ 1386 ] {7b6a9cf2-c6ac-4d8d-8ba8-bae4ca7a47f0} executeQuery: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:12.884316 [ 1386 ] {7b6a9cf2-c6ac-4d8d-8ba8-bae4ca7a47f0} TCPHandler: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:12.902570 [ 1386 ] {6e4df5d9-b5fb-42cd-a073-c7c1c71de128} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:12.904014 [ 1386 ] {6e4df5d9-b5fb-42cd-a073-c7c1c71de128} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:13.526436 [ 1386 ] {8dc7fe4f-2b5c-470f-a2d2-d991838a5af5} executeQuery: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTime('00', '%d'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8934c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:13.527318 [ 1386 ] {8dc7fe4f-2b5c-470f-a2d2-d991838a5af5} TCPHandler: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTime('00', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8934c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:13.540293 [ 1386 ] {d62bb64c-d1b1-4a90-aaf3-e3b9e047c4a8} executeQuery: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTime('32', '%d'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('32', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8934c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:13.541077 [ 1386 ] {d62bb64c-d1b1-4a90-aaf3-e3b9e047c4a8} TCPHandler: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTime('32', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8934c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:13.552647 [ 1386 ] {0c22da94-c55f-43e1-86ba-4d6303b94620} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%d'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:13.553305 [ 1386 ] {0c22da94-c55f-43e1-86ba-4d6303b94620} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:14.103122 [ 1386 ] {f66cccf7-9e3b-4884-bfeb-05d44bf84dbb} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTime('02-31', '%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('02-31', '%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001ad43051 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001ac9a3f9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac85092 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:14.104214 [ 1386 ] {f66cccf7-9e3b-4884-bfeb-05d44bf84dbb} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTime('02-31', '%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001ad43051 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001ac9a3f9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac85092 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:14.118023 [ 1386 ] {a30bd83d-2c38-40c3-9565-c0a95ca4c433} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTime('04-31', '%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('04-31', '%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001ad43051 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001ac9a3f9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac85092 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:14.118819 [ 1386 ] {a30bd83d-2c38-40c3-9565-c0a95ca4c433} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTime('04-31', '%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001ad43051 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001ac9a3f9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac85092 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:14.204586 [ 1386 ] {ccb9781c-1d52-4cd2-b082-745bd46e2245} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTime('2001-02-29', '%Y-%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('2001-02-29', '%Y-%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001ad43051 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001ac9a3f9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac85092 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:14.205371 [ 1386 ] {ccb9781c-1d52-4cd2-b082-745bd46e2245} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTime('2001-02-29', '%Y-%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001ad43051 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001ac9a3f9 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac85092 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:15.011138 [ 1386 ] {79d583f2-dec7-4d36-9d56-26d222445115} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1981 day of year: 366): While processing parseDateTime('1981 366', '%Y %j'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1981 366', '%Y %j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001ad42b8d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac859ba in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:15.596588 [ 1386 ] {79d583f2-dec7-4d36-9d56-26d222445115} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1981 day of year: 366): While processing parseDateTime('1981 366', '%Y %j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001ad42b8d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac859ba in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:15.596703 [ 1837 ] {8e1d1c19-083c-4b79-b8a6-cad2e8f28f7a} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)'). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57134) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:15.597631 [ 1837 ] {8e1d1c19-083c-4b79-b8a6-cad2e8f28f7a} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:16.149798 [ 1386 ] {890d2808-fa6c-4b75-bdc0-6cdd62d63ab2} executeQuery: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTime('367', '%j'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('367', '%j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8e871 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:16.149820 [ 1837 ] {088be488-dc9a-4fd0-9847-15a5aa248595} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)'). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57134) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:16.150874 [ 1386 ] {890d2808-fa6c-4b75-bdc0-6cdd62d63ab2} TCPHandler: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTime('367', '%j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8e871 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:16.150875 [ 1837 ] {088be488-dc9a-4fd0-9847-15a5aa248595} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:16.164798 [ 1386 ] {1aedfe12-af11-42a9-9579-f86958af1312} executeQuery: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTime('000', '%j'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('000', '%j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8e871 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:16.165871 [ 1386 ] {1aedfe12-af11-42a9-9579-f86958af1312} TCPHandler: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTime('000', '%j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8e871 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:16.169556 [ 1837 ] {44457ae1-f855-4954-9906-80c2692ae866} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(UInt8, Array(UInt8)), Tuple(UInt8, Array(UInt8))): While processing CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))'). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57134) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:16.170814 [ 1837 ] {44457ae1-f855-4954-9906-80c2692ae866} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(UInt8, Array(UInt8)), Tuple(UInt8, Array(UInt8))): While processing CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:16.181165 [ 1386 ] {a6503f7a-2fe3-4c74-baba-fb36bc403043} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTime('2000 366 2001', '%Y %j %Y'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: -- The last one is chosen if multiple day of years are supplied. select parseDateTime('2000 366 2001', '%Y %j %Y');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001ad42b8d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac859ba in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:16.182251 [ 1386 ] {a6503f7a-2fe3-4c74-baba-fb36bc403043} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTime('2000 366 2001', '%Y %j %Y'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001ad42b8d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001ac859ba in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d67b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:16.190860 [ 1837 ] {182f1b27-8736-4330-afd8-de3ed884b4f5} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, Tuple(String, Array(UInt8))), Tuple(String, Tuple(String, Array(UInt8)))): While processing CAST((('ghj', ('klm', [16, 17])), ('nop', ('rst', [18]))), 'Map(String, Map(String, Array(UInt8)))'). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57134) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('ghj', (('klm', [16, 17]))), ('nop', (('rst', [18])))), 'Map(String, Map(String, Array(UInt8)))');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:16.191810 [ 1837 ] {182f1b27-8736-4330-afd8-de3ed884b4f5} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, Tuple(String, Array(UInt8))), Tuple(String, Tuple(String, Array(UInt8)))): While processing CAST((('ghj', ('klm', [16, 17])), ('nop', ('rst', [18]))), 'Map(String, Map(String, Array(UInt8)))'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x000000000a29ec87 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290e7a in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:16.866570 [ 1386 ] {4167b808-0faf-452d-be04-47039082fc49} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('24', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:16.867531 [ 1386 ] {4167b808-0faf-452d-be04-47039082fc49} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:16.881791 [ 1386 ] {bd52f63f-8972-4833-832a-cb304ddbbbf8} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:16.882863 [ 1386 ] {bd52f63f-8972-4833-832a-cb304ddbbbf8} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:16.899364 [ 1386 ] {bcd3cb70-c4d1-4d48-90cd-2db8f59ece3e} executeQuery: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1234567', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:16.900593 [ 1386 ] {bcd3cb70-c4d1-4d48-90cd-2db8f59ece3e} TCPHandler: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:17.010404 [ 1386 ] {8a509f85-a73a-4228-8382-79a35c0e133a} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('24', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:17.011611 [ 1386 ] {8a509f85-a73a-4228-8382-79a35c0e133a} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:17.028651 [ 1386 ] {beed67f3-3b0f-4110-888b-a0ce8ca45d7b} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:17.029846 [ 1386 ] {beed67f3-3b0f-4110-888b-a0ce8ca45d7b} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac97419 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:17.045020 [ 1386 ] {811a12cf-b1a3-4fb6-93e3-3210c5429c74} executeQuery: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1234567', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:17.046175 [ 1386 ] {811a12cf-b1a3-4fb6-93e3-3210c5429c74} TCPHandler: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:17.410148 [ 5015 ] {} Access(user directories): from: ::1, user: non_exist_user: Authentication failed: Code: 192. DB::Exception: There is no user `non_exist_user` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:527: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c45 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:17.969638 [ 1386 ] {cb3d2766-c30b-415d-aa8f-4150bc71d5b3} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.235925 [ 1386 ] {cb3d2766-c30b-415d-aa8f-4150bc71d5b3} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.236223 [ 5015 ] {} ServerErrorHandler: Code: 516. DB::Exception: non_exist_user: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:18.249857 [ 1386 ] {02ae3292-66ae-4e30-b665-07a232270ff5} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.250830 [ 1386 ] {02ae3292-66ae-4e30-b665-07a232270ff5} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.264876 [ 1386 ] {a9304195-da04-4457-a2c4-bacd532707d0} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:18.266032 [ 1386 ] {a9304195-da04-4457-a2c4-bacd532707d0} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:18.349944 [ 1386 ] {6ae0d488-6628-47c8-bc50-57c2fd94a15f} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.350758 [ 1386 ] {6ae0d488-6628-47c8-bc50-57c2fd94a15f} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.362054 [ 1386 ] {5fa01606-6bee-4e3e-9b50-c13fa2aa9800} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.362872 [ 1386 ] {5fa01606-6bee-4e3e-9b50-c13fa2aa9800} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:18.374630 [ 1386 ] {7fe12ba2-45c0-4257-aa3c-d26acc35c765} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:18.375391 [ 1386 ] {7fe12ba2-45c0-4257-aa3c-d26acc35c765} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:18.736950 [ 1130 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:18.737252 [ 1386 ] {8742fc89-95e6-407d-99c3-8ff0e005a757} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:19.231935 [ 2794 ] {a4db4b41-b2e7-420d-965a-7d59144e7183} executeQuery: Code: 60. DB::Exception: Table test_tcq21gci.receiver_02572 does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 02572_materialized_views_ignore_errors.sql) (in query: -- ensure that insert fails insert into proxy_02572 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:19.231979 [ 1386 ] {8742fc89-95e6-407d-99c3-8ff0e005a757} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:19.232457 [ 1130 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:19.233537 [ 2794 ] {a4db4b41-b2e7-420d-965a-7d59144e7183} TCPHandler: Code: 60. DB::Exception: Table test_tcq21gci.receiver_02572 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:19.245921 [ 1386 ] {12d5cc7e-f00f-4577-92d3-37166e0bb97f} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:19.247040 [ 1386 ] {12d5cc7e-f00f-4577-92d3-37166e0bb97f} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001ad4187f in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001ac9a033 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9735f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:16:19.260386 [ 1386 ] {c8ced2ef-1a02-426e-980c-ba307d5c18df} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:19.261276 [ 1386 ] {c8ced2ef-1a02-426e-980c-ba307d5c18df} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:19.319988 [ 2794 ] {69df58ca-2307-4139-92fd-ac67447ab665} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_tcq21gci.receiver_02572 does not exist: while pushing to view test_tcq21gci.push_to_proxy_mv_02572 (35be9e19-2c61-438d-926f-b0738a0db263). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:19.595286 [ 1386 ] {f2a44219-ea82-47f5-94ab-3aa66538404a} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:19.596156 [ 1386 ] {f2a44219-ea82-47f5-94ab-3aa66538404a} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:19.606514 [ 1386 ] {f11ccc12-70db-41b7-9c0d-e31ee3a5370e} executeQuery: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:19.607443 [ 1386 ] {f11ccc12-70db-41b7-9c0d-e31ee3a5370e} TCPHandler: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac94fbd in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:19.617740 [ 1386 ] {35ffcee6-3f12-49b0-b028-f36cd24c01c6} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:19.618555 [ 1386 ] {35ffcee6-3f12-49b0-b028-f36cd24c01c6} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:20.220258 [ 1386 ] {dde02b29-4a13-423b-b12b-d8a8b30c4fde} executeQuery: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTime('60', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9687d in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:20.221736 [ 1386 ] {dde02b29-4a13-423b-b12b-d8a8b30c4fde} TCPHandler: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTime('60', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9687d in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:20.234872 [ 1386 ] {7d427629-b0ef-4c62-9f59-e2eba2df517b} executeQuery: Code: 41. DB::Exception: Value -29 for second must be in the range [0, 59]: While processing parseDateTime('-1', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9687d in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:20.236110 [ 1386 ] {7d427629-b0ef-4c62-9f59-e2eba2df517b} TCPHandler: Code: 41. DB::Exception: Value -29 for second must be in the range [0, 59]: While processing parseDateTime('-1', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001ad3ed17 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac9687d in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:16:20.250957 [ 1386 ] {89b873fc-4aca-43a4-a6f7-fa7dac051ff3} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:20.252382 [ 1386 ] {89b873fc-4aca-43a4-a6f7-fa7dac051ff3} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001ad3cb73 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7e470 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:16:20.881056 [ 1386 ] {ee44f99b-fdea-48e6-971b-1a3acc003677} executeQuery: Code: 243. DB::Exception: Unable to parse fragment %f from 42 because mysqlMicrosecond requires size >= 6: While processing parseDateTime('42', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (NOT_ENOUGH_SPACE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('42', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String const&) @ 0x000000001ad3db98 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8c330 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:20.881761 [ 2794 ] {2a507c10-bac8-494c-8ac7-be76d011a21f} executeQuery: Code: 60. DB::Exception: Table test_tcq21gci.receiver_02572 does not exist: while pushing to view test_tcq21gci.push_to_proxy_mv_02572 (35be9e19-2c61-438d-926f-b0738a0db263). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 02572_materialized_views_ignore_errors.sql) (in query: -- materialized_views_ignore_errors=0 insert into data_02572 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:20.882336 [ 1386 ] {ee44f99b-fdea-48e6-971b-1a3acc003677} TCPHandler: Code: 243. DB::Exception: Unable to parse fragment %f from 42 because mysqlMicrosecond requires size >= 6: While processing parseDateTime('42', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (NOT_ENOUGH_SPACE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String const&) @ 0x000000001ad3db98 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8c330 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:20.883789 [ 2794 ] {2a507c10-bac8-494c-8ac7-be76d011a21f} TCPHandler: Code: 60. DB::Exception: Table test_tcq21gci.receiver_02572 does not exist: while pushing to view test_tcq21gci.push_to_proxy_mv_02572 (35be9e19-2c61-438d-926f-b0738a0db263). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:21.443431 [ 1386 ] {b65dfeb0-656c-4392-aca4-1f512b9ebc42} executeQuery: Code: 41. DB::Exception: Unable to parse fragment %f from ABCD because  is not a number: While processing parseDateTime('12ABCD', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12ABCD', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&&) @ 0x000000001ad403f8 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8c13c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:21.444685 [ 1386 ] {b65dfeb0-656c-4392-aca4-1f512b9ebc42} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment %f from ABCD because  is not a number: While processing parseDateTime('12ABCD', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&&) @ 0x000000001ad403f8 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001ac8c13c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ac7d116 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:22.206225 [ 1386 ] {dc566906-3d1f-450b-b0dd-75af7c71f72c} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: -- Error handling select parseDateTime('12 AM');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac82603 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:22.207182 [ 1386 ] {dc566906-3d1f-450b-b0dd-75af7c71f72c} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac82603 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:22.220458 [ 1386 ] {14321483-cc6c-4b70-aa17-1aa65a41243b} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM', '%h %p', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12 AM', '%h %p', 'UTC', 'a fourth argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac82603 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:22.221412 [ 1386 ] {14321483-cc6c-4b70-aa17-1aa65a41243b} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM', '%h %p', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac82603 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:22.756165 [ 1386 ] {19b4483a-1c05-4c7a-ae28-7a8c99e9efe3} executeQuery: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime, expected const String, got String: While processing parseDateTime('', '', toString(number)). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58290) (comment: 02668_parse_datetime.sql) (in query: -- Fuzzer crash bug #53715 select parseDateTime('', '', toString(number)) from numbers(13);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8ed3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac82603 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:16:22.757362 [ 1386 ] {19b4483a-1c05-4c7a-ae28-7a8c99e9efe3} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime, expected const String, got String: While processing parseDateTime('', '', toString(number)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8ed3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac82603 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:16:23.492301 [ 5009 ] {9754be5f-053e-4eb5-9425-736bc1dd8b89} executeQuery: Code: 475. DB::Exception: Incompatible types of WITH FILL expression values with column type Date. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57506) (comment: 02561_with_fill_date_datetime_incompatible.sql) (in query: SELECT today() AS a ORDER BY a ASC WITH FILL FROM now() - toIntervalMonth(1) TO now() + toIntervalDay(1) STEP 82600;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:224: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e268d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:23.493524 [ 5009 ] {9754be5f-053e-4eb5-9425-736bc1dd8b89} TCPHandler: Code: 475. DB::Exception: Incompatible types of WITH FILL expression values with column type Date. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:224: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e268d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:25.140680 [ 2794 ] {8d96a606-a920-48a8-a3e2-2c4a8298d830} executeQuery: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt128. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56164) (comment: 02560_with_fill_int256_int.sql) (in query: SELECT (number * 2)::UInt128 FROM numbers(10) ORDER BY 1 ASC WITH FILL FROM -3 TO 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:561: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e84bf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0d925a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:25.142046 [ 2794 ] {8d96a606-a920-48a8-a3e2-2c4a8298d830} TCPHandler: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt128. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:561: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e84bf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0d925a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:25.163718 [ 2794 ] {5bc6b6ea-3fd3-47a6-80db-61205c54c977} executeQuery: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt256. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56164) (comment: 02560_with_fill_int256_int.sql) (in query: SELECT (number * 2)::UInt256 FROM numbers(10) ORDER BY 1 ASC WITH FILL FROM -3 TO 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:561: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e84bf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0d925a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:25.164875 [ 2794 ] {5bc6b6ea-3fd3-47a6-80db-61205c54c977} TCPHandler: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt256. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:561: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e84bf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0d925a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:26.599522 [ 5009 ] {340f7f41-2290-4b01-988f-3d37a9796ed9} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56244) (comment: 02559_multiple_read_steps_in_prewhere.sql) (in query: SELECT cast(id1 as UInt16) AS cond1 FROM test_02559 PREWHERE cond1 LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000003b8ce0a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.h:71: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000003d534f1c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000003d52d56c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1074: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d523d24 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:26.601618 [ 5009 ] {340f7f41-2290-4b01-988f-3d37a9796ed9} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000003b8ce0a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.h:71: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000003d534f1c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000003d52d56c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1074: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d523d24 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:27.665604 [ 1129 ] {fbb6f128-3ac6-4289-b9a0-97c38b2829ae} executeQuery: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and Int8. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56308) (comment: 02553_type_json_attach_partition.sql) (in query: ALTER TABLE t_json_attach_partition ATTACH PARTITION tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x0000000009dff33e in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:341: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0acba in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:452: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0400b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3799: DB::MergeTreeData::checkPartDynamicColumns(std::shared_ptr&, DB::DataPartsLock&) const @ 0x000000003cef653b in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&, std::vector, std::allocator>>*) @ 0x000000003cefbc13 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndAdd(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&) @ 0x000000003cefd0c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:1986: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da7590c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf36c2a in /usr/bin/clickhouse 10. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:27.666618 [ 1129 ] {fbb6f128-3ac6-4289-b9a0-97c38b2829ae} TCPHandler: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and Int8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x0000000009dff33e in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:341: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0acba in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:452: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0400b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3799: DB::MergeTreeData::checkPartDynamicColumns(std::shared_ptr&, DB::DataPartsLock&) const @ 0x000000003cef653b in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&, std::vector, std::allocator>>*) @ 0x000000003cefbc13 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndAdd(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&) @ 0x000000003cefd0c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:1986: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da7590c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf36c2a in /usr/bin/clickhouse 10. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:29.714715 [ 1130 ] {7342ef5b-2cba-49e5-b552-051b28fbfeb3} executeQuery: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform(number, [1], [NULL]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56364) (comment: 02542_transform_old.sql) (in query: SELECT transform(number, [1], [null]) FROM system.numbers LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3acb81 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:29.715724 [ 1130 ] {7342ef5b-2cba-49e5-b552-051b28fbfeb3} TCPHandler: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform(number, [1], [NULL]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3acb81 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:16:31.020236 [ 2793 ] {ed4696e4-7172-4afc-882b-89a97b475eed} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56508) (comment: 02540_duplicate_primary_key.sql) (in query: CREATE TABLE test (`coverage` DateTime, `haunt` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `sail` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `empowerment_turnstile` UInt8, `empowerment_haversack` Nullable(Int16), `empowerment_function` Nullable(Int16), `empowerment_guidance` Nullable(Int32), `empowerment_high` Nullable(Int32), `trading_id` Nullable(Int32), `guidance` Nullable(Int32), `empowerment_rawhide` Int32, `memo` Nullable(Int16), `oeuvre` Nullable(Int16), `bun` Nullable(Int16), `tramp` String, `anthropology_total` Nullable(Float32), `situation_name` String, `timing` Nullable(String), `NAME_cockroach` String, `NAME_toe` String, `business_error_methane` FixedString(110), `business_instrumentation_methane` FixedString(15), `market` UInt8, `crew_memo` Nullable(Int16), `crew_oeuvre` Nullable(Int16), `crew_fortnight` Nullable(Int16), `princess_memo` Nullable(Int16), `princess_oeuvre` Nullable(Int16), `princess_fortnight` Nullable(Int16), `emerald` Nullable(Float32), `cannon_crate` Nullable(String), `thinking` String, `SectorMen` String, `rage_name` Nullable(String), `DevelopmentalLigandName` String, `chard_heavy_quadrant` UInt64, `poster_effective` Nullable(String), PROJECTION chrysalis_trapezium_ham (SELECT empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun, sum(multiIf(crew_memo IS NULL, 0, 1)), sum(multiIf(crew_oeuvre IS NULL, 0, 1)), sum(multiIf(crew_fortnight IS NULL, 0, 1)), max(toStartOfInterval(coverage, toIntervalDay(1))), max(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), min(toStartOfInterval(coverage, toIntervalDay(1))), min(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), count(), sum(1) GROUP BY empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun)) ENGINE = MergeTree PARTITION BY toYYYYMM(coverage) ORDER BY (coverage, situation_name, NAME_toe, NAME_cockroach) SETTINGS index_granularity = 17260, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8195, prefer_fetch_merged_part_size_threshold = 6357390483, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8924016463, index_granularity_bytes = 28156736, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 48644, primary_key_compress_block_size = 68377), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1116: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a9ec in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:31.023245 [ 2793 ] {ed4696e4-7172-4afc-882b-89a97b475eed} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d045557 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce4dd57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce47913 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1116: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a9ec in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:32.296928 [ 5009 ] {8790bd7a-30e4-41db-8aa3-d9b144473985} executeQuery: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56634) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_5b4ttyfr.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:32.298119 [ 5009 ] {8790bd7a-30e4-41db-8aa3-d9b144473985} TCPHandler: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:32.718806 [ 1129 ] {7224eac4-dcbf-468b-b6f2-e904e7f9c426} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/62b/62b05c82-8e27-411f-b6f2-3b48648f77b1/shard1_replica1/1.bin. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56600) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PoolBase.h:131: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac3770 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab23e5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:32.720107 [ 1129 ] {7224eac4-dcbf-468b-b6f2-e904e7f9c426} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/62b/62b05c82-8e27-411f-b6f2-3b48648f77b1/shard1_replica1/1.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PoolBase.h:131: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac3770 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab23e5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:32.739204 [ 5009 ] {6f49b51d-64a7-4bd5-902b-05e88c896fe6} executeQuery: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56634) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_5b4ttyfr.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:32.740053 [ 5009 ] {6f49b51d-64a7-4bd5-902b-05e88c896fe6} TCPHandler: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:33.166650 [ 1129 ] {67b294d7-384c-485a-8c6f-16febcbcec28} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/62b/62b05c82-8e27-411f-b6f2-3b48648f77b1/shard1_replica1/1.bin. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56600) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: -- check the second since after using queue it may got lost from it SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PoolBase.h:131: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac3770 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab2300 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:33.167633 [ 1129 ] {67b294d7-384c-485a-8c6f-16febcbcec28} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/62b/62b05c82-8e27-411f-b6f2-3b48648f77b1/shard1_replica1/1.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PoolBase.h:131: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac3770 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab2300 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:33.804241 [ 5009 ] {65b3cdd9-ff9a-416f-8f07-66c96791b449} executeQuery: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56634) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_5b4ttyfr.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:33.804994 [ 5009 ] {65b3cdd9-ff9a-416f-8f07-66c96791b449} TCPHandler: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:34.274199 [ 1129 ] {292a6c7c-ab5a-45e0-afdc-60415ab8546e} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/69a/69a89759-9b64-482d-b94e-effd1c5bd9b5/shard1_replica1/2.bin. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56600) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000003cadfbd3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000003cad873b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:340: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000003cabf565 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab21bc in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:34.910440 [ 1129 ] {292a6c7c-ab5a-45e0-afdc-60415ab8546e} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/69a/69a89759-9b64-482d-b94e-effd1c5bd9b5/shard1_replica1/2.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000003cadfbd3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000003cad873b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:340: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000003cabf565 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab21bc in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:34.910607 [ 1077 ] {ad611bfc-39a1-4e38-ab34-3d4717cba829} executeQuery: Code: 48. DB::Exception: first element of the key tuple is not UInt64: While processing sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56340) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed((0, 0), '1');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000af3c6fb in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252b92 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252632 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:34.911900 [ 1077 ] {ad611bfc-39a1-4e38-ab34-3d4717cba829} TCPHandler: Code: 48. DB::Exception: first element of the key tuple is not UInt64: While processing sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000af3c6fb in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252b92 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252632 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:35.480724 [ 1077 ] {b1bb7a16-3916-4505-b103-219819963874} executeQuery: Code: 48. DB::Exception: key must be a tuple: While processing sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56340) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed(toUInt64(0), '1');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000af3c5d7 in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252b92 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252632 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:35.480789 [ 5009 ] {58ca7e0d-14ee-4828-b603-c5f460ce628a} executeQuery: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56634) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_5b4ttyfr.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:35.481671 [ 1077 ] {b1bb7a16-3916-4505-b103-219819963874} TCPHandler: Code: 48. DB::Exception: key must be a tuple: While processing sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000af3c5d7 in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252b92 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b252632 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:16:35.481713 [ 5009 ] {58ca7e0d-14ee-4828-b603-c5f460ce628a} TCPHandler: Code: 60. DB::Exception: Table test_5b4ttyfr.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:35.962734 [ 1129 ] {93f9d63a-deca-49e0-b2cd-a240c6e69e90} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/69a/69a89759-9b64-482d-b94e-effd1c5bd9b5/shard1_replica1//2.bin. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56600) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: -- check the second since after using queue it may got lost from it SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000003cadfbd3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000003cad873b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000003cab94f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab21bc in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:35.969256 [ 1129 ] {93f9d63a-deca-49e0-b2cd-a240c6e69e90} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_5b4ttyfr.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/69a/69a89759-9b64-482d-b94e-effd1c5bd9b5/shard1_replica1//2.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:0: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000003cae76f5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000003cadfbd3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000003cad873b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000003cab94f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab21bc in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:36.384221 [ 1129 ] {49de23e1-be1a-46cd-8e7e-e2606a514bc4} test_5b4ttyfr.dist.DirectoryMonitor.default: File /var/lib/clickhouse/store/69a/69a89759-9b64-482d-b94e-effd1c5bd9b5/shard1_replica1/2.bin does not exists, likely due to current_batch.txt processing 2024.12.17 03:16:37.544854 [ 3707 ] {test_3aj1hyce_test_02585_query_to_kill_id_1} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57178) (comment: 02585_query_status_deadlock.sh) (in query: select * from remote('127.0.0.2', 'system.numbers_mt') where number in (select * from tmp);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:37.571575 [ 3707 ] {test_3aj1hyce_test_02585_query_to_kill_id_1} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:39.951589 [ 5015 ] {8fb6b4bd-52df-4c3b-b5c1-1a7a448a4806} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: -- needle: non-const, replacement: const SELECT replaceAll(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccb4e05 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:39.956008 [ 5015 ] {8fb6b4bd-52df-4c3b-b5c1-1a7a448a4806} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccb4e05 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:40.435645 [ 5015 ] {1b5169cf-a8c4-430f-9c67-2d127498650d} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceOne(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccbfbb8 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:40.439944 [ 5015 ] {1b5169cf-a8c4-430f-9c67-2d127498650d} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccbfbb8 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:40.770982 [ 5015 ] {081c5aa6-32ab-4853-879f-78024817574c} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpAll(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccc9de7 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:40.772164 [ 5015 ] {081c5aa6-32ab-4853-879f-78024817574c} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccc9de7 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:41.118029 [ 5015 ] {d27e75cc-76d4-4ae5-9039-f8d097ade921} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpOne(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccd7f47 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:41.512890 [ 5015 ] {d27e75cc-76d4-4ae5-9039-f8d097ade921} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccd7f47 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:41.513009 [ 2794 ] {ba90ade3-b56f-4358-b3f0-fc352f685ecc} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34580) (comment: 02585_query_status_deadlock.sh) (in query: SELECT `number` FROM `system`.`numbers_mt` WHERE `number` IN ((SELECT * FROM `tmp`) AS `_subquery5`)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0ef497 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378fa37d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a999099 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:41.942853 [ 1130 ] {b47b21f2-022b-4052-8d2a-2053eaca6f84} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for Val. (ILLEGAL_PREWHERE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52166) (comment: 02527_storage_merge_prewhere_different_type.sql) (in query: SELECT Val FROM merge1 PREWHERE Val = 65536 OR Val = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x0000000039b4c533 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2d87f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:41.942887 [ 2794 ] {ba90ade3-b56f-4358-b3f0-fc352f685ecc} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0ef497 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378fa37d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a999099 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:41.944431 [ 1130 ] {b47b21f2-022b-4052-8d2a-2053eaca6f84} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for Val. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x0000000039b4c533 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2d87f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:41.946082 [ 2794 ] {ba90ade3-b56f-4358-b3f0-fc352f685ecc} TCPHandler: Client has gone away. 2024.12.17 03:16:42.583925 [ 5015 ] {c8dfcc47-7501-448d-bf03-016f58e2235c} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: -- needle: const, replacement: non-const SELECT replaceAll(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccb56e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:42.586682 [ 5015 ] {c8dfcc47-7501-448d-bf03-016f58e2235c} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccb56e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:43.262740 [ 5015 ] {ee2be2f1-8144-42f5-ac23-ee30fa8421db} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceOne(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccc0252 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:43.746338 [ 5015 ] {ee2be2f1-8144-42f5-ac23-ee30fa8421db} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccc0252 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:43.746424 [ 7071 ] {3384c89e-4b62-4c85-8774-d75a648449bf} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "foobar" is invalid query. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52246) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', (foobar));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:199: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000003bc044dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc05c5f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:43.748034 [ 7071 ] {3384c89e-4b62-4c85-8774-d75a648449bf} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "foobar" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:199: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000003bc044dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc05c5f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:43.761316 [ 7071 ] {28a4d612-bb6d-4346-9aa5-dfac4a24629b} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "'(SELECT 1)'" is invalid query. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52246) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', '(SELECT 1)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:199: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000003bc044dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc05c5f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:43.762753 [ 7071 ] {28a4d612-bb6d-4346-9aa5-dfac4a24629b} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "'(SELECT 1)'" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:199: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000003bc044dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc05c5f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:44.340616 [ 5015 ] {5e24e3e8-aab1-4691-89ce-bbc1f46c1d0b} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpAll(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccca612 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:44.340616 [ 7071 ] {6f35b974-0f76-4012-96f7-da4e87ce66e9} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "[1, 2, 3]" is invalid query. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52246) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:199: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000003bc044dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc05c5f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:44.341733 [ 7071 ] {6f35b974-0f76-4012-96f7-da4e87ce66e9} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "[1, 2, 3]" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:199: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000003bc044dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc05c5f in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:44.341766 [ 5015 ] {5e24e3e8-aab1-4691-89ce-bbc1f46c1d0b} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccca612 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:44.857977 [ 5015 ] {2638dddd-5a1e-45b3-9bb6-bdbf5533538c} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpOne(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccd8772 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:45.180458 [ 1830 ] {d8011ebb-d77a-4242-ae96-9d749805aeb4} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected ')' at end of stream.: Cannot extract table structure from Values format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40082) (comment: 02502_bad_values_schema_inference.sql) (in query: desc format(Values, '(\'abc)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:1382: DB::ValuesSchemaReader::readRowAndGetDataTypes() @ 0x000000003eaa5da0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IRowSchemaReader::readSchema() @ 0x000000003e42a5f4 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034b038f3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:45.180523 [ 5015 ] {2638dddd-5a1e-45b3-9bb6-bdbf5533538c} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccd8772 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:45.181322 [ 1830 ] {d8011ebb-d77a-4242-ae96-9d749805aeb4} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected ')' at end of stream.: Cannot extract table structure from Values format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:1382: DB::ValuesSchemaReader::readRowAndGetDataTypes() @ 0x000000003eaa5da0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IRowSchemaReader::readSchema() @ 0x000000003e42a5f4 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034b038f3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:45.490043 [ 5015 ] {616c19da-d1c5-451b-ac56-7925571e1006} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: -- needle: non-const, replacement: non-const SELECT replaceAll(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccb521b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:45.678870 [ 1130 ] {a91d97d2-0a28-4aa4-b638-77c99e576120} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40096) (comment: 02501_limits_on_result_for_view.sql) (in query: -- test SELECT * from 02501_view settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:45.678862 [ 5015 ] {616c19da-d1c5-451b-ac56-7925571e1006} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccb521b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:45.920731 [ 670 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:36172). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:16:45.920772 [ 1130 ] {a91d97d2-0a28-4aa4-b638-77c99e576120} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:46.204511 [ 5015 ] {5ec23e81-f18a-4a82-a2bc-b4d6e01db512} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceOne(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccbfda6 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:46.205893 [ 5015 ] {5ec23e81-f18a-4a82-a2bc-b4d6e01db512} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccbfda6 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:46.517051 [ 5015 ] {bfad1a2f-d15c-4efb-9783-9af4d9bee17d} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpAll(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccca0f9 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:46.518223 [ 5015 ] {bfad1a2f-d15c-4efb-9783-9af4d9bee17d} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccca0f9 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:46.826880 [ 5015 ] {448cb0bb-b1e7-453d-9b68-69bbb33445e2} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52108) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpOne(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccd8259 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:46.828120 [ 5015 ] {448cb0bb-b1e7-453d-9b68-69bbb33445e2} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ccd8259 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:48.128855 [ 1386 ] {08b81c09-f974-40c3-9c20-a4814af313fa} executeQuery: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40174) (comment: 02514_database_replicated_no_arguments_for_rmt.sh) (in query: CREATE TABLE test_42z7d7e5_db.tab_rmt_fail (`x` UInt32) ENGINE = ReplicatedMergeTree('/clickhouse/tables/02514_database_replicated_no_arguments_for_rmt_test_42z7d7e5/root/{shard}', '{replica}') ORDER BY x SETTINGS index_granularity = 27522, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 10739, prefer_fetch_merged_part_size_threshold = 1558880396, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 3777882710, index_granularity_bytes = 2878329, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 68464, primary_key_compress_block_size = 90290), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [244]) @ 0x00000000371948d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003714e59b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003714f81c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393db8c3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:48.130360 [ 1386 ] {08b81c09-f974-40c3-9c20-a4814af313fa} TCPHandler: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [244]) @ 0x00000000371948d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003714e59b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003714f81c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393db8c3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:50.309726 [ 2793 ] {061cc454-1598-4bc7-a3c4-9fb598f48bcc} executeQuery: Code: 36. DB::Exception: Using storage_file_read_method=mmap is not safe in server mode. Consider using pread.: While executing File. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40294) (comment: 02497_storage_file_reader_selection.sh) (in query: SELECT * FROM file('/dev/null', 'LineAsString') FORMAT Null -- { serverError BAD_ARGUMENTS }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:321: DB::(anonymous namespace)::createReadBuffer(String const&, stat const&, bool, int, String const&, std::shared_ptr) @ 0x000000003bc14785 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFile.cpp:1264: DB::StorageFileSource::generate() @ 0x000000003bc66143 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:50.312806 [ 2793 ] {061cc454-1598-4bc7-a3c4-9fb598f48bcc} TCPHandler: Code: 36. DB::Exception: Using storage_file_read_method=mmap is not safe in server mode. Consider using pread.: While executing File. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:321: DB::(anonymous namespace)::createReadBuffer(String const&, stat const&, bool, int, String const&, std::shared_ptr) @ 0x000000003bc14785 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFile.cpp:1264: DB::StorageFileSource::generate() @ 0x000000003bc66143 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:51.970683 [ 1130 ] {db642e2c-ee3e-498b-9f8b-ec7ae5a11c1a} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 't2.value'. In scope SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id). Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40366) (comment: 02481_analyzer_join_alias_unknown_identifier_crash.sql) (in query: SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String const&, String&&, String&&) @ 0x0000000039853ea4 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2613: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000397828e8 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:52.395934 [ 1130 ] {db642e2c-ee3e-498b-9f8b-ec7ae5a11c1a} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 't2.value'. In scope SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id). Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String const&, String&&, String&&) @ 0x0000000039853ea4 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2613: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000397828e8 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:52.396199 [ 2794 ] {691b65dd-a602-408b-bb40-1af0e68a46db} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(b :: 0, c :: 1) -> intDiv(b, c) Int32 : 2'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40382) (comment: 02481_prewhere_filtered_rows_div_by_zero.sql) (in query: -- Check that division by zero occurs on some rows SELECT intDiv(b, c) FROM test_filter;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)0>(int const*, int const*, int*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141d0fa9 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000148acb91 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x0000000014899133 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473acd8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:52.397947 [ 2794 ] {691b65dd-a602-408b-bb40-1af0e68a46db} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(b :: 0, c :: 1) -> intDiv(b, c) Int32 : 2'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)0>(int const*, int const*, int*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141d0fa9 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000148acb91 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x0000000014899133 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473acd8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:54.141922 [ 1130 ] {d27fbbd9-99d9-4da0-bf93-74b938a09d6f} executeQuery: Code: 36. DB::Exception: The maximum value for the input argument of function factorial is 20: While processing factorial(100). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50702) (comment: 02478_factorial.sql) (in query: select factorial(100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [69]) @ 0x000000000e6501b7 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a8c966 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a8c0e2 in /usr/bin/clickhouse 5. auto DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x0000000010a8653f in /usr/bin/clickhouse 6. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000010a85715 in /usr/bin/clickhouse 7. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a85040 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:16:54.142960 [ 1130 ] {d27fbbd9-99d9-4da0-bf93-74b938a09d6f} TCPHandler: Code: 36. DB::Exception: The maximum value for the input argument of function factorial is 20: While processing factorial(100). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [69]) @ 0x000000000e6501b7 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a8c966 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a8c0e2 in /usr/bin/clickhouse 5. auto DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x0000000010a8653f in /usr/bin/clickhouse 6. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000010a85715 in /usr/bin/clickhouse 7. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a85040 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:16:54.715329 [ 1130 ] {17096c84-2865-4569-9d3b-fae8cf95b210} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function factorial: While processing factorial('100'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50702) (comment: 02478_factorial.sql) (in query: select factorial('100');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010a9ae09 in /usr/bin/clickhouse 4. DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010a85503 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:16:54.716321 [ 1130 ] {17096c84-2865-4569-9d3b-fae8cf95b210} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function factorial: While processing factorial('100'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010a9ae09 in /usr/bin/clickhouse 4. DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010a85503 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:16:55.303377 [ 1130 ] {75a9e766-1a4f-4905-a5c2-19a7014cf68a} executeQuery: Code: 43. DB::Exception: Illegal type of argument of function factorial, should not be floating point or big int: While processing factorial(100.1234). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50702) (comment: 02478_factorial.sql) (in query: select factorial(100.1234);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [88]) @ 0x0000000009f74037 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a972b0 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a96ea2 in /usr/bin/clickhouse 5. auto DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x0000000010a8b687 in /usr/bin/clickhouse 6. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000010a85e71 in /usr/bin/clickhouse 7. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a85040 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:16:55.305000 [ 1130 ] {75a9e766-1a4f-4905-a5c2-19a7014cf68a} TCPHandler: Code: 43. DB::Exception: Illegal type of argument of function factorial, should not be floating point or big int: While processing factorial(100.1234). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [88]) @ 0x0000000009f74037 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a972b0 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a96ea2 in /usr/bin/clickhouse 5. auto DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x0000000010a8b687 in /usr/bin/clickhouse 6. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000010a85e71 in /usr/bin/clickhouse 7. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a85040 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:16:59.329468 [ 8562 ] {907490e8-9090-4bb4-a035-91297391ff8b} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:59.330681 [ 8562 ] {907490e8-9090-4bb4-a035-91297391ff8b} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:59.343226 [ 8562 ] {a42443a1-68bd-4c72-b183-0fc662608f8a} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:59.344306 [ 8562 ] {a42443a1-68bd-4c72-b183-0fc662608f8a} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:59.355753 [ 8562 ] {8fa0db81-3dff-4449-ad55-459ba3fcee04} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:59.356825 [ 8562 ] {8fa0db81-3dff-4449-ad55-459ba3fcee04} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:16:59.708577 [ 8562 ] {53c34339-bffc-4df0-bf1d-e3e59cd7521e} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.199064 [ 8562 ] {53c34339-bffc-4df0-bf1d-e3e59cd7521e} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.199246 [ 3707 ] {e868a1ca-ae4d-4e9d-ab2e-f9a9ed360ade} executeQuery: Code: 59. DB::Exception: Illegal type Int128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51540) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_int128 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.201099 [ 3707 ] {e868a1ca-ae4d-4e9d-ab2e-f9a9ed360ade} TCPHandler: Code: 59. DB::Exception: Illegal type Int128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.214269 [ 8562 ] {33ea09a7-90f9-4986-9f08-c352d4588c76} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.216006 [ 8562 ] {33ea09a7-90f9-4986-9f08-c352d4588c76} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.229458 [ 8562 ] {11f87ec5-9091-4682-8750-4eb95f0cdcc2} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.230659 [ 8562 ] {11f87ec5-9091-4682-8750-4eb95f0cdcc2} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.246188 [ 8562 ] {fa8925ae-231a-4830-86ba-03d8442fcbfa} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.247274 [ 8562 ] {fa8925ae-231a-4830-86ba-03d8442fcbfa} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.258143 [ 8562 ] {c0be84b9-2dda-447c-a934-a2f3d6417fcd} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.259702 [ 8562 ] {c0be84b9-2dda-447c-a934-a2f3d6417fcd} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.270375 [ 8562 ] {c1272d24-6d61-4ebc-b9c4-aaf15b847c7f} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.271688 [ 8562 ] {c1272d24-6d61-4ebc-b9c4-aaf15b847c7f} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:822: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000396aaba0 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a34a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x0000000039693d90 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000003968a401 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000003968953f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4e873 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.295027 [ 8562 ] {fb4ea6bb-db54-4296-bb16-333882eca027} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.296597 [ 8562 ] {fb4ea6bb-db54-4296-bb16-333882eca027} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.308896 [ 8562 ] {41e9be2e-3680-4b71-94aa-4c15e0fc4f2d} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.309953 [ 8562 ] {41e9be2e-3680-4b71-94aa-4c15e0fc4f2d} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.320965 [ 8562 ] {e71c4183-232e-40cd-831b-899656ce3e34} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51502) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.322051 [ 8562 ] {e71c4183-232e-40cd-831b-899656ce3e34} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737e14 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.334062 [ 3707 ] {150c59c6-9afa-4197-8408-073370787042} executeQuery: Code: 59. DB::Exception: Illegal type Int256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51540) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_int256 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.335906 [ 3707 ] {150c59c6-9afa-4197-8408-073370787042} TCPHandler: Code: 59. DB::Exception: Illegal type Int256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.525893 [ 3707 ] {0abda439-d618-4e29-9c7b-738835251221} executeQuery: Code: 59. DB::Exception: Illegal type UInt128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51540) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_uint128 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.528399 [ 3707 ] {0abda439-d618-4e29-9c7b-738835251221} TCPHandler: Code: 59. DB::Exception: Illegal type UInt128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.674664 [ 3707 ] {e13664a1-cd37-4d54-b158-b16b3c924124} executeQuery: Code: 59. DB::Exception: Illegal type UInt256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51540) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_uint256 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:00.676196 [ 3707 ] {e13664a1-cd37-4d54-b158-b16b3c924124} TCPHandler: Code: 59. DB::Exception: Illegal type UInt256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:658: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000003d4e27a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:35: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000003d4f4e0f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000003f19ef60 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000003d204724 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000003d1c63e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000003d18f099 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003da1cbd0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:01.579160 [ 1837 ] {ebe91508-3816-4943-b2b5-8d284a072c48} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(CAST('9223372036854775807', 'Int64')). (CANNOT_FORMAT_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51670) (comment: 02463_julian_day_ubsan.sql) (in query: SELECT fromModifiedJulianDay(9223372036854775807 :: Int64);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. DB::OrdinalDate::init(long) @ 0x000000000c5b2673 in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(long) @ 0x000000000c5b0b5e in /usr/bin/clickhouse 5. DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c51077 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:17:01.580618 [ 1837 ] {ebe91508-3816-4943-b2b5-8d284a072c48} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(CAST('9223372036854775807', 'Int64')). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. DB::OrdinalDate::init(long) @ 0x000000000c5b2673 in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(long) @ 0x000000000c5b0b5e in /usr/bin/clickhouse 5. DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c51077 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:17:03.299232 [ 1130 ] {f87c718b-9298-4813-a21d-1da07e642673} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51902) (comment: 02473_functions_in_readonly_mode.sh) (in query: SELECT * from format('TSV', '123')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b68964 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b646de in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000035b00f26 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000003789cdf2 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035312283 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:03.303427 [ 1130 ] {f87c718b-9298-4813-a21d-1da07e642673} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b68964 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b646de in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000035b00f26 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000003789cdf2 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035312283 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:04.300955 [ 3707 ] {7149f4ef-7ff5-43fc-b5b7-a397ea818004} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47818) (comment: 02473_functions_in_readonly_mode.sh) (in query: INSERT INTO FUNCTION null('x String') (x) FORMAT TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b68964 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b646de in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000035b00f26 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000003789cdf2 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035312283 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:105: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa7a77 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:04.303606 [ 3707 ] {7149f4ef-7ff5-43fc-b5b7-a397ea818004} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b68964 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b646de in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000035b00f26 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000003789cdf2 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035312283 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:105: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa7a77 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:04.834096 [ 8562 ] {9ab97238-583e-4fea-8515-dc3086e7d8fa} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47896) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:04.836969 [ 8562 ] {9ab97238-583e-4fea-8515-dc3086e7d8fa} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:14.463355 [ 924 ] {ce5758b6-25a6-4021-826b-417f0aa5566e::all_0_0_0_1} MutateTask: Ignoring column k from part all_0_0_0 with metadata version 0 because there is no such column in table test_2ngrv3qt.mut (ce5758b6-25a6-4021-826b-417f0aa5566e) with metadata version 1. Assuming the column was dropped 2024.12.17 03:17:15.001119 [ 1386 ] {4b5f2a16-d702-4f32-913c-bd94433228f9} executeQuery: Code: 60. DB::Exception: Table db_test_pgmu5jw5.test does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60994) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:15.004068 [ 1386 ] {4b5f2a16-d702-4f32-913c-bd94433228f9} TCPHandler: Code: 60. DB::Exception: Table db_test_pgmu5jw5.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:17.562286 [ 830 ] {} test_qjmkmczc.rmt2 (5df9bd3a-dfe2-4344-886a-c959c04f3a9e): Metadata version (2) on replica is not up to date with metadata (1) on source replica 1 2024.12.17 03:17:17.651679 [ 951 ] {} test_qjmkmczc.rmt2 (5df9bd3a-dfe2-4344-886a-c959c04f3a9e): Attempt to update metadata of version 2 to older version 1 when processing log entry queue-0000000000: format version: 4 create_time: 2024-12-17 03:17:17 source replica: 1 block_id: alter alter_version 1 have_mutation 0 columns_str_size: 69 columns format version: 1 3 columns: `n` Int32 `m` Int32 `k` UInt128 metadata_str_size: 190 metadata format version: 1 date column: sampling expression: index granularity: 39033 mode: 0 sign column: primary key: data format version: 1 partition key: granularity bytes: 9056495 2024.12.17 03:17:20.115100 [ 2793 ] {d14e9eaa-8771-4f38-a9be-c83099d73e56} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/.inner_id.203dd992-f2f1-4e03-9d9d-58b83a72f090/replicas/1: while pushing to view db_test_pgmu5jw5.test_mv_b (203dd992-f2f1-4e03-9d9d-58b83a72f090). (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33130) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:20.130908 [ 2793 ] {d14e9eaa-8771-4f38-a9be-c83099d73e56} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/.inner_id.203dd992-f2f1-4e03-9d9d-58b83a72f090/replicas/1: while pushing to view db_test_pgmu5jw5.test_mv_b (203dd992-f2f1-4e03-9d9d-58b83a72f090). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:21.056301 [ 757 ] {} ViewDeps: Found table test_v4n2879w.test_race_condition_mv_ (777d90c8-9608-459a-8335-2f246fcb05cf) in the graph with unexpected UUID 4dffb8a1-6b45-4080-b3a8-3a12f368c4ac 2024.12.17 03:17:21.149709 [ 670 ] {064d3e25-e5f8-4dec-bec1-7880b559704d} executeQuery: Code: 81. DB::Exception: Database db_test_pgmu5jw5 does not exist. Maybe you meant test_pgmu5jw5?. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33288) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037adea9f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99a42a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:21.475088 [ 670 ] {064d3e25-e5f8-4dec-bec1-7880b559704d} TCPHandler: Code: 81. DB::Exception: Database db_test_pgmu5jw5 does not exist. Maybe you meant test_pgmu5jw5?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037adea9f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99a42a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:21.475141 [ 2793 ] {c4590f24-02e7-4c55-b792-8729d0390cf5} executeQuery: Code: 44. DB::Exception: Cannot create table with column 's' which type is 'FixedString(257)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33290) (comment: 02426_create_suspicious_fixed_string.sql) (in query: CREATE TABLE suspicious_fixed_string (`id` UInt64, `s` FixedString(257)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 11927, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 22574, prefer_fetch_merged_part_size_threshold = 2941039142, vertical_merge_algorithm_min_rows_to_activate = 56393, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8764617, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 67735, primary_key_compress_block_size = 82178), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, int&&) @ 0x000000003940d67a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:895: DB::InterpreterCreateQuery::validateTableStructure(DB::ASTCreateQuery const&, DB::InterpreterCreateQuery::TableProperties const&) const @ 0x00000000393c4751 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b77ca in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:21.476753 [ 2793 ] {c4590f24-02e7-4c55-b792-8729d0390cf5} TCPHandler: Code: 44. DB::Exception: Cannot create table with column 's' which type is 'FixedString(257)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, int&&) @ 0x000000003940d67a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:895: DB::InterpreterCreateQuery::validateTableStructure(DB::ASTCreateQuery const&, DB::InterpreterCreateQuery::TableProperties const&) const @ 0x00000000393c4751 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b77ca in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:21.904159 [ 798 ] {} ViewDeps: Found table test_v4n2879w.test_race_condition_mv1_ (097ce34d-2441-40f4-9d5a-b7e8dad6b5f6) in the graph with unexpected UUID 986ed775-e8f2-48a6-91d3-2b00b58f5819 2024.12.17 03:17:22.720909 [ 711 ] {} ViewDeps: Found table test_v4n2879w.test_race_condition_mv_ (0e599f85-82fe-4d6d-b9cc-024d189ede29) in the graph with unexpected UUID fb3ddf84-aedf-4138-a1e6-279d78833a03 2024.12.17 03:17:23.458788 [ 7071 ] {9fd63c9c-8e40-44e4-9548-9abd0c3099f5} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33448) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6d3c84 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8778 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:23.955497 [ 3707 ] {12d9c818-91e6-4ef2-87e5-977aff14129d} executeQuery: Code: 60. DB::Exception: Table db_test_pgmu5jw5.test does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33512) (comment: 02437_drop_mv_restart_replicas.sh) (in query: CREATE MATERIALIZED VIEW IF NOT EXISTS db_test_pgmu5jw5.test_mv_c ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_02124/{table}', '1') ORDER BY tuple() SETTINGS index_granularity = 1715, min_bytes_for_wide_part = 693814251, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 16116, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10679695149, index_granularity_bytes = 11626900, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 60615, primary_key_compress_block_size = 31881 AS SELECT test, A, count() AS c FROM db_test_pgmu5jw5.test GROUP BY test, A), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b84cb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:24.509016 [ 7071 ] {9fd63c9c-8e40-44e4-9548-9abd0c3099f5} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6d3c84 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8778 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:24.509064 [ 3707 ] {12d9c818-91e6-4ef2-87e5-977aff14129d} TCPHandler: Code: 60. DB::Exception: Table db_test_pgmu5jw5.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b84cb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:24.516960 [ 9398 ] {cf748b78-ac9d-4202-9d25-63be3bd744ae} executeQuery: Code: 667. DB::Exception: Table is not initialized yet. (NOT_INITIALIZED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33528) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [29]) @ 0x000000000aede1d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5280: DB::StorageReplicatedMergeTree::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003c1231fc in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039aac846 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edba10d in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:24.520676 [ 9398 ] {cf748b78-ac9d-4202-9d25-63be3bd744ae} TCPHandler: Code: 667. DB::Exception: Table is not initialized yet. (NOT_INITIALIZED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [29]) @ 0x000000000aede1d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5280: DB::StorageReplicatedMergeTree::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003c1231fc in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039aac846 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edba10d in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:24.825237 [ 7071 ] {59311f42-9b36-4513-9c8e-50f438209f82} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33448) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, NULL));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6d3c84 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8778 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:24.826953 [ 7071 ] {59311f42-9b36-4513-9c8e-50f438209f82} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6d3c84 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8778 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:26.514508 [ 1077 ] {29402a1b-81bc-4b88-8c81-009590c96231} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/.inner_id.de751e9c-bb61-46e9-a199-130b12a3dd9f/replicas/1: while pushing to view db_test_pgmu5jw5.test_mv_b (de751e9c-bb61-46e9-a199-130b12a3dd9f). (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42196) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:26.524558 [ 1077 ] {29402a1b-81bc-4b88-8c81-009590c96231} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/.inner_id.de751e9c-bb61-46e9-a199-130b12a3dd9f/replicas/1: while pushing to view db_test_pgmu5jw5.test_mv_b (de751e9c-bb61-46e9-a199-130b12a3dd9f). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:27.512505 [ 9398 ] {0a19baeb-1637-4553-8c3f-f0ff2f8a5781} executeQuery: Code: 60. DB::Exception: Table db_test_pgmu5jw5.test does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42256) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:27.514832 [ 9398 ] {0a19baeb-1637-4553-8c3f-f0ff2f8a5781} TCPHandler: Code: 60. DB::Exception: Table db_test_pgmu5jw5.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:28.399165 [ 9398 ] {3534e332-b15f-4808-aed4-e75ceb9c453d} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/test/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42308) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95ca53 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:28.405089 [ 9398 ] {3534e332-b15f-4808-aed4-e75ceb9c453d} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/test/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95ca53 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:29.217609 [ 9470 ] {89b93e49-6911-4f31-8f61-947a245ee782} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/test/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42362) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_pgmu5jw5.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95ca53 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:29.224573 [ 9470 ] {89b93e49-6911-4f31-8f61-947a245ee782} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_pgmu5jw5/test_02124/test/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95ca53 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:35.618281 [ 761 ] {} ViewDeps: Found table test_v4n2879w.test_race_condition_mv1_ (a2bda5e3-07ca-4400-bf75-2ef87804d8f3) in the graph with unexpected UUID 2bb87f29-edf2-4870-85de-0a57c7f9b720 2024.12.17 03:17:38.299124 [ 9399 ] {9e7e047e-ee9e-4f1e-be57-62a368fdad31} executeQuery: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39552) (comment: 02419_contingency_array_nullable.sql) (in query: SELECT contingency(1, [1, NULL]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:163: DB::ColumnArray::getDataAt(unsigned long) const @ 0x000000003ac98a39 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:49: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000029df8288 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000029df9261 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x0000000038067c4f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9567 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:38.302077 [ 9399 ] {9e7e047e-ee9e-4f1e-be57-62a368fdad31} TCPHandler: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:163: DB::ColumnArray::getDataAt(unsigned long) const @ 0x000000003ac98a39 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:49: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000029df8288 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000029df9261 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x0000000038067c4f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9567 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:44.486530 [ 3707 ] {77a06dd6-cbee-4b78-8b3b-0d9bbcda31ed} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Unsupported language for region name. Supported languages are: 'ru', 'en', 'ua', 'uk', 'by', 'kz', 'tr', 'de', 'uz', 'lv', 'lt', 'et', 'pt', 'he', 'vi'. (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58790) (comment: 02411_legacy_geobase.sql) (in query: SELECT regionToName(number::UInt32, 'xy') FROM numbers(13);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String&&, int) @ 0x000000004a199869 in /usr/bin/clickhouse 1. RegionsNames::getLanguageEnum(String const&) @ 0x000000000ae3290b in /usr/bin/clickhouse 2. DB::FunctionRegionToName::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae2f659 in /usr/bin/clickhouse 3. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:44.488549 [ 3707 ] {77a06dd6-cbee-4b78-8b3b-0d9bbcda31ed} TCPHandler: Code: 1000. DB::Exception: Exception: Unsupported language for region name. Supported languages are: 'ru', 'en', 'ua', 'uk', 'by', 'kz', 'tr', 'de', 'uz', 'lv', 'lt', 'et', 'pt', 'he', 'vi'. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String&&, int) @ 0x000000004a199869 in /usr/bin/clickhouse 1. RegionsNames::getLanguageEnum(String const&) @ 0x000000000ae3290b in /usr/bin/clickhouse 2. DB::FunctionRegionToName::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae2f659 in /usr/bin/clickhouse 3. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 9. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:50.427547 [ 3707 ] {e03b71d2-a001-4a83-8cd3-04f8f0753e83} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59132). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59132) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 4168, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:50.667784 [ 3707 ] {e03b71d2-a001-4a83-8cd3-04f8f0753e83} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59132). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:17:50.668378 [ 3707 ] {e03b71d2-a001-4a83-8cd3-04f8f0753e83} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59132). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:50.669219 [ 3707 ] {e03b71d2-a001-4a83-8cd3-04f8f0753e83} TCPHandler: Client has gone away. 2024.12.17 03:17:52.993136 [ 9400 ] {44150040-98c7-4b70-9646-03d8f42d1b30} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22+01:02:03');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:52.994721 [ 9400 ] {44150040-98c7-4b70-9646-03d8f42d1b30} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.594832 [ 9400 ] {a932594b-5f49-4bcc-a411-fd2fc90309fb} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22+01:02:03');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.596318 [ 9400 ] {a932594b-5f49-4bcc-a411-fd2fc90309fb} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.611297 [ 9400 ] {79180da1-0bef-4a6a-93da-d615cd21c7e8} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.612815 [ 9400 ] {79180da1-0bef-4a6a-93da-d615cd21c7e8} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.628712 [ 9400 ] {884e7308-c13a-4aeb-9b46-445d416863fc} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.630297 [ 9400 ] {884e7308-c13a-4aeb-9b46-445d416863fc} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.648558 [ 9400 ] {5efa309d-23a4-48f7-b838-482446db7380} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.650059 [ 9400 ] {5efa309d-23a4-48f7-b838-482446db7380} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.665448 [ 9400 ] {6bc90248-27a0-42d1-a384-7e4147d52237} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.666765 [ 9400 ] {6bc90248-27a0-42d1-a384-7e4147d52237} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.682049 [ 9400 ] {559ab0a7-a62e-44ef-84d4-f54846122225} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.111a' as Date: syntax error at position 23 (parsed just '2022-08-22 01:02:03.111'): While processing toDate('2022-08-22 01:02:03.111a'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.111a');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.683472 [ 9400 ] {559ab0a7-a62e-44ef-84d4-f54846122225} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.111a' as Date: syntax error at position 23 (parsed just '2022-08-22 01:02:03.111'): While processing toDate('2022-08-22 01:02:03.111a'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.698112 [ 9400 ] {ffec7158-b1f5-4f88-a5a9-50f19a95c092} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.2b' as Date32: syntax error at position 21 (parsed just '2022-08-22 01:02:03.2'): While processing toDate32('2022-08-22 01:02:03.2b'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.2b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.699654 [ 9400 ] {ffec7158-b1f5-4f88-a5a9-50f19a95c092} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.2b' as Date32: syntax error at position 21 (parsed just '2022-08-22 01:02:03.2'): While processing toDate32('2022-08-22 01:02:03.2b'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.716731 [ 9400 ] {5a74ba29-a407-493b-be7c-4ed9e3d10015} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.a' as Date: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate('2022-08-22 01:02:03.a'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.a');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.718337 [ 9400 ] {5a74ba29-a407-493b-be7c-4ed9e3d10015} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.a' as Date: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate('2022-08-22 01:02:03.a'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.736282 [ 9400 ] {ce446347-a08a-48b6-8c47-844ab465b091} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.b' as Date32: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate32('2022-08-22 01:02:03.b'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59222) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:53.738029 [ 9400 ] {ce446347-a08a-48b6-8c47-844ab465b091} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.b' as Date32: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate32('2022-08-22 01:02:03.b'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009d48249 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d12915 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0bba2 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d0a422 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:17:54.736519 [ 3707 ] {044b3790-94a7-4a95-a47d-8b7e703e6d1b} executeQuery: Code: 162. DB::Exception: Too deep subqueries. Maximum: 1. (TOO_DEEP_SUBQUERIES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35358) (comment: 02379_analyzer_subquery_depth.sql) (in query: SELECT (SELECT a FROM (SELECT 1 AS a)) SETTINGS max_subquery_depth = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6824: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737bbe in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974b721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397618f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974b721 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:54.738249 [ 3707 ] {044b3790-94a7-4a95-a47d-8b7e703e6d1b} TCPHandler: Code: 162. DB::Exception: Too deep subqueries. Maximum: 1. (TOO_DEEP_SUBQUERIES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6824: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737bbe in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974b721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397618f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974b721 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:57.493232 [ 5015 ] {770d367c-492f-467e-85f0-15e80c5a1a47} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59096). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59096) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 3636, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:57.494597 [ 5015 ] {770d367c-492f-467e-85f0-15e80c5a1a47} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59096). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:17:57.494822 [ 5015 ] {770d367c-492f-467e-85f0-15e80c5a1a47} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59096). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:57.495459 [ 5015 ] {770d367c-492f-467e-85f0-15e80c5a1a47} TCPHandler: Client has gone away. 2024.12.17 03:17:57.731692 [ 2793 ] {56a61c0a-e9be-482e-83f9-3742ba32a558} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59094). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59094) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 4197, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:57.733549 [ 2793 ] {56a61c0a-e9be-482e-83f9-3742ba32a558} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59094). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:17:57.733833 [ 2793 ] {56a61c0a-e9be-482e-83f9-3742ba32a558} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:59094). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:17:57.734463 [ 2793 ] {56a61c0a-e9be-482e-83f9-3742ba32a558} TCPHandler: Client has gone away. 2024.12.17 03:18:01.291512 [ 3707 ] {97f20cf9-6cae-4c8e-addf-046572c49e4b} executeQuery: Code: 456. DB::Exception: Substitution `n` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35720) (comment: 02377_extend_protocol_with_query_parameters.sh) (in query: select {n: UInt8} -- { serverError 456 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000003a94573a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a94127b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.h:23: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9976d0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:01.292735 [ 3707 ] {97f20cf9-6cae-4c8e-addf-046572c49e4b} TCPHandler: Code: 456. DB::Exception: Substitution `n` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000003a94573a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a94127b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a9487ff in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a941486 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.h:23: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9976d0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:05.649232 [ 1077 ] {1972fe93-568f-458a-9e63-a189f644e83e} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexistent.txt, errno: 2, strerror: No such file or directory: While processing file('nonexistent.txt'). (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50164) (comment: 02357_file_default_value.sql) (in query: SELECT file('nonexistent.txt');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000002099c978 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71a69a in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:18:05.666852 [ 1077 ] {1972fe93-568f-458a-9e63-a189f644e83e} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexistent.txt, errno: 2, strerror: No such file or directory: While processing file('nonexistent.txt'). (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000002099c978 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71a69a in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:18:07.362541 [ 1077 ] {683ae26f-7e71-4ba2-9614-b5c3871c1257} executeQuery: Code: 80. DB::Exception: USearch index must not have more than one parameters. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: -- must have at most 1 arguments CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index vector TYPE usearch('too', 'many')) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x0000000010f79057 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:324: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f47b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:07.378140 [ 1077 ] {683ae26f-7e71-4ba2-9614-b5c3871c1257} TCPHandler: Code: 80. DB::Exception: USearch index must not have more than one parameters. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x0000000010f79057 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:324: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f47b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:07.947020 [ 1077 ] {e25869ef-ea6b-456f-81a4-88a26e8eeb8e} executeQuery: Code: 80. DB::Exception: Distance function argument of USearch index must be of type String. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: -- first argument (distance_function) must be String CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index vector TYPE usearch(3)) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce7b0b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:0: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f668 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:08.067702 [ 7430 ] {02366_8} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35538) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_8.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:08.067769 [ 1077 ] {e25869ef-ea6b-456f-81a4-88a26e8eeb8e} TCPHandler: Code: 80. DB::Exception: Distance function argument of USearch index must be of type String. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce7b0b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:0: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f668 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:08.067856 [ 670 ] {02366_2} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35548) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_2.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:08.641622 [ 7430 ] {02366_8} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:08.641661 [ 670 ] {02366_2} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:08.641787 [ 1077 ] {1edbaf8a-ab4f-4f6a-b71f-3bd62ca20c18} executeQuery: Code: 7. DB::Exception: USearch indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: -- must be created on single column CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index (vector, id) TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x00000000093c23b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:0: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f34c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:08.643788 [ 1077 ] {1edbaf8a-ab4f-4f6a-b71f-3bd62ca20c18} TCPHandler: Code: 7. DB::Exception: USearch indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x00000000093c23b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:0: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f34c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:09.201268 [ 1077 ] {28da0e6f-9c1b-4296-8a0b-76086c6b4880} executeQuery: Code: 117. DB::Exception: USearch index only supports distance functions 'L2Distance' and 'cosineDistance'. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: -- reject unsupported distance functions CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index vector TYPE usearch('wormholeDistance')) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, char const* const&) @ 0x000000001ccec56c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:340: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f5c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:09.202609 [ 1077 ] {28da0e6f-9c1b-4296-8a0b-76086c6b4880} TCPHandler: Code: 117. DB::Exception: USearch index only supports distance functions 'L2Distance' and 'cosineDistance'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, char const* const&) @ 0x000000001ccec56c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:340: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f5c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:09.772484 [ 1077 ] {7b484da4-90a0-4b4d-8334-b70f59ea48d7} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Float32, INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f3c7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:09.774037 [ 1077 ] {7b484da4-90a0-4b4d-8334-b70f59ea48d7} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f3c7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:10.333144 [ 1077 ] {7a6cf1a8-660b-4045-9a9a-2c18f9db3efd} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Array(Float64), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f717 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:10.334534 [ 1077 ] {7a6cf1a8-660b-4045-9a9a-2c18f9db3efd} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f717 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:10.891375 [ 1077 ] {c3102181-e065-4210-858b-a5853e3fc065} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Tuple(Float64), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f29b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:10.893319 [ 1077 ] {c3102181-e065-4210-858b-a5853e3fc065} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f29b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:10.983034 [ 1077 ] {62991bfb-e35c-452f-aa14-be9fa70b3221} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector LowCardinality(Float32), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f3c7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:10.984738 [ 1077 ] {62991bfb-e35c-452f-aa14-be9fa70b3221} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f3c7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.084884 [ 1077 ] {bf77ca21-cca9-474a-9b2b-743ad08caae4} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Nullable(Float32), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f3c7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.094526 [ 1077 ] {bf77ca21-cca9-474a-9b2b-743ad08caae4} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000003d39f3c7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000003d271c6e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000003d26398e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4a63c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.872299 [ 9400 ] {02366_2} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50284) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_2.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.887958 [ 9400 ] {02366_2} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.929652 [ 9401 ] {02366_6} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50296) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_6.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.948628 [ 9401 ] {02366_6} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.971549 [ 9399 ] {02366_3} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50312) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_3.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:11.981900 [ 9399 ] {02366_3} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.146624 [ 7071 ] {02366_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50328) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_9.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.157372 [ 7071 ] {02366_9} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.688121 [ 1077 ] {11967ed7-2922-4e91-ac9d-1cc7c8c6998e} executeQuery: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match the dimension in the index (3). (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: SELECT * FROM tab ORDER BY L2Distance(vector, [0.0, 0.0]) LIMIT 3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x000000002075b4ac in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:255: std::vector> DB::MergeTreeIndexConditionUSearch::getUsefulRangesImpl<(unum::usearch::metric_kind_t)101>(std::shared_ptr) const @ 0x000000003d3a1a52 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:228: DB::MergeTreeIndexConditionUSearch::getUsefulRanges(std::shared_ptr) const @ 0x000000003d39d3a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, DB::MarkCache*, DB::UncompressedCache*, Poco::Logger*) @ 0x000000003d1f41c2 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:988: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool)::$_0::operator()(unsigned long) const @ 0x000000003d1ebc08 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e4c6b in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.688215 [ 3707 ] {02366_7} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50302) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_7.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.688267 [ 1386 ] {02366_8} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50336) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_8.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.688261 [ 2794 ] {02366_5} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50270) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_5.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.690224 [ 8562 ] {02366_10} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50352) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_10.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.690870 [ 1077 ] {11967ed7-2922-4e91-ac9d-1cc7c8c6998e} TCPHandler: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match the dimension in the index (3). (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x000000002075b4ac in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:255: std::vector> DB::MergeTreeIndexConditionUSearch::getUsefulRangesImpl<(unum::usearch::metric_kind_t)101>(std::shared_ptr) const @ 0x000000003d3a1a52 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:228: DB::MergeTreeIndexConditionUSearch::getUsefulRanges(std::shared_ptr) const @ 0x000000003d39d3a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, DB::MarkCache*, DB::UncompressedCache*, Poco::Logger*) @ 0x000000003d1f41c2 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:988: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool)::$_0::operator()(unsigned long) const @ 0x000000003d1ebc08 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e4c6b in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.701052 [ 1386 ] {02366_8} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.709945 [ 3707 ] {02366_7} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.713566 [ 2794 ] {02366_5} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:12.713515 [ 8562 ] {02366_10} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:13.260404 [ 9398 ] {02366_4} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50364) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_4.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:13.260409 [ 8779 ] {02366_1} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50356) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_1.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:13.260493 [ 1077 ] {3eb103eb-b5ee-4655-adf9-bc70d47bdf53} executeQuery: Code: 80. DB::Exception: Distance can't be negative. Got -1. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50232) (comment: 02354_usearch_index.sql) (in query: SELECT * FROM tab WHERE L2Distance(vector, [0.0, 0.0, 10.0]) < -1.0 LIMIT 3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, float&) @ 0x000000000a7b2917 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:354: DB::ApproximateNearestNeighborCondition::matchRPNWhere(std::vector>&, DB::ApproximateNearestNeighborInformation&) @ 0x000000003d393e1c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:0: DB::ApproximateNearestNeighborCondition::checkQueryStructure(DB::SelectQueryInfo const&) @ 0x000000003d38ecdb in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:58: DB::ApproximateNearestNeighborCondition::ApproximateNearestNeighborCondition(DB::SelectQueryInfo const&, std::shared_ptr) @ 0x000000003d38d3ad in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:0: DB::MergeTreeIndexConditionUSearch::MergeTreeIndexConditionUSearch(DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr) @ 0x000000003d39c4ad in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr&, void>(std::allocator const&, DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr&) @ 0x000000003d3ed9c3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::MergeTreeIndexUSearch::createIndexCondition(DB::SelectQueryInfo const&, std::shared_ptr) const @ 0x000000003d39dfb2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1335: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000003f1d6b15 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ReadFromMergeTree::applyFilters() @ 0x000000003f1d2e8b in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:208: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000003f31d070 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:486: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000003f16c295 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f168f9b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:13.263222 [ 1077 ] {3eb103eb-b5ee-4655-adf9-bc70d47bdf53} TCPHandler: Code: 80. DB::Exception: Distance can't be negative. Got -1. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, float&) @ 0x000000000a7b2917 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:354: DB::ApproximateNearestNeighborCondition::matchRPNWhere(std::vector>&, DB::ApproximateNearestNeighborInformation&) @ 0x000000003d393e1c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:0: DB::ApproximateNearestNeighborCondition::checkQueryStructure(DB::SelectQueryInfo const&) @ 0x000000003d38ecdb in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:58: DB::ApproximateNearestNeighborCondition::ApproximateNearestNeighborCondition(DB::SelectQueryInfo const&, std::shared_ptr) @ 0x000000003d38d3ad in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:0: DB::MergeTreeIndexConditionUSearch::MergeTreeIndexConditionUSearch(DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr) @ 0x000000003d39c4ad in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr&, void>(std::allocator const&, DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr&) @ 0x000000003d3ed9c3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::MergeTreeIndexUSearch::createIndexCondition(DB::SelectQueryInfo const&, std::shared_ptr) const @ 0x000000003d39dfb2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1335: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000003f1d6b15 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ReadFromMergeTree::applyFilters() @ 0x000000003f1d2e8b in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:208: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000003f31d070 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:486: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000003f16c295 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f168f9b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:13.274542 [ 8779 ] {02366_1} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:13.277426 [ 9398 ] {02366_4} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:14.640552 [ 8562 ] {d13594f8-5aad-4d46-820e-e47020d8cd85} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'b'. In scope SELECT a AS b, b AS a. (CYCLIC_ALIASES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37532) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT a AS b, b AS a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2588: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039782242 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039780580 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:14.642082 [ 8562 ] {d13594f8-5aad-4d46-820e-e47020d8cd85} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'b'. In scope SELECT a AS b, b AS a. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2588: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039782242 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039780580 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:15.243497 [ 2794 ] {705f552a-d118-44d0-90d9-48267fd6c4b4} executeQuery: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> _CAST(1, 'UInt64'), _CAST(1, 'UInt64'). (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37512) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT arrayMap(x -> compound_value.*, [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e5c079 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5153: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397aa4e2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:15.762375 [ 2794 ] {705f552a-d118-44d0-90d9-48267fd6c4b4} TCPHandler: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> _CAST(1, 'UInt64'), _CAST(1, 'UInt64'). (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e5c079 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5153: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397aa4e2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:15.762507 [ 8562 ] {8bbe4156-dfcd-4364-954c-3a019c393129} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT id + b AS id, id AS b FROM test_table. (CYCLIC_ALIASES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37532) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT (id + b) AS id, id as b FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2588: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039782242 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039780580 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:16.062345 [ 8562 ] {8bbe4156-dfcd-4364-954c-3a019c393129} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT id + b AS id, id AS b FROM test_table. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2588: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039782242 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039780580 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:16.062519 [ 1131 ] {} InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:default:/test/02432/test_qjmkmczc/replicas/1. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000003dfd96cc in /usr/bin/clickhouse 4. ./build_docker/./src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000003dfd469d in /usr/bin/clickhouse 5. ./build_docker/./src/Server/InterserverIOHTTPHandler.cpp:0: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003dfd63ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:18:16.881486 [ 1386 ] {dea13018-a27e-4067-aa4e-1a910f7213c9} executeQuery: Code: 42. DB::Exception: Number of arguments for function base58Encode doesn't match: passed 2, should be 1: While processing base58Encode('Hold my beer...', 'Second arg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37540) (comment: 02337_base58.sql) (in query: SELECT base58Encode('Hold my beer...', 'Second arg');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:18:18.003657 [ 944 ] {} test_qjmkmczc.rmt2 (5df9bd3a-dfe2-4344-886a-c959c04f3a9e): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 86. DB::HTTPException: Received error from remote server /?endpoint=DataPartsExchange%3Adefault%3A%2Ftest%2F02432%2Ftest_qjmkmczc%2Freplicas%2F1&part=all_18_18_0&client_protocol_version=8&compress=false&remote_fs_metadata=s3. HTTP status code: 500 Internal Server Error, body: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:default:/test/02432/test_qjmkmczc/replicas/1. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000003dfd96cc in /usr/bin/clickhouse 4. ./build_docker/./src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000003dfd469d in /usr/bin/clickhouse 5. ./build_docker/./src/Server/InterserverIOHTTPHandler.cpp:0: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003dfd63ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)). (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x000000002103601b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.h:27: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x000000002103573e in /usr/bin/clickhouse 4. ./build_docker/./src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000021028da1 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000021028ac5 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:0: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x000000002b159961 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x000000002b161bae in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:379: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x000000002b15f1e2 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:0: DB::detail::ReadWriteBufferFromHTTPBase>>::ReadWriteBufferFromHTTPBase(std::shared_ptr>, Poco::URI, Poco::Net::HTTPBasicCredentials const&, String const&, std::function>&)>, unsigned long, DB::ReadSettings const&, std::vector>, DB::RemoteHostFilter const*, bool, bool, bool, std::optional, Poco::Net::HTTPClientSession::ProxyConfig) @ 0x000000002b15e577 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:0: DB::PooledReadWriteBufferFromHTTP::PooledReadWriteBufferFromHTTP(Poco::URI, String const&, std::function>&)>, DB::ConnectionTimeouts const&, Poco::Net::HTTPBasicCredentials const&, unsigned long, unsigned long, unsigned long) @ 0x000000002b13c75e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](Poco::URI&, String const&, std::nullptr_t&&, DB::ConnectionTimeouts const&, Poco::Net::HTTPBasicCredentials&, unsigned long long&&, int&&, unsigned long&&) @ 0x000000003cb9e69d in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartsExchange.cpp:521: DB::DataPartsExchange::Fetcher::fetchSelectedPart(std::shared_ptr const&, std::shared_ptr, String const&, String const&, String const&, String const&, int, DB::ConnectionTimeouts const&, String const&, String const&, String const&, std::shared_ptr, bool, String const&, std::optional*, bool, std::shared_ptr) @ 0x000000003cb7697d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::shared_ptr std::__function::__policy_invoker ()>::__call_impl const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_4, std::shared_ptr ()>>(std::__function::__policy_storage const*) @ 0x000000003c28ef49 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4620: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool) @ 0x000000003c056c3f in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02acf0 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1794: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000003bfefbca in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker&)>::__call_impl)::$_1, bool (std::shared_ptr&)>>(std::__function::__policy_storage const*, std::shared_ptr&) @ 0x000000003c288550 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000003d8c46ec in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000003c0bb576 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003c28ae1f in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IExecutableTask.h:61: DB::ExecutableLambdaAdapter::executeStep() @ 0x000000003c2fec57 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce1940b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce1bb50 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce32f5f in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:18:18.473814 [ 1386 ] {dea13018-a27e-4067-aa4e-1a910f7213c9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base58Encode doesn't match: passed 2, should be 1: While processing base58Encode('Hold my beer...', 'Second arg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:18:18.473913 [ 2794 ] {e68f9861-b129-4f0b-bf09-1034a03471be} executeQuery: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37512) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x000000003986afc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4195: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003980f1f1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974c20a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:19.067707 [ 2794 ] {e68f9861-b129-4f0b-bf09-1034a03471be} TCPHandler: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x000000003986afc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4195: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003980f1f1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974c20a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:19.067730 [ 8562 ] {1fa0cdbb-a90f-4c79-8204-413a16906cd8} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT ((1 + b) + 1) + id AS id, b AS c, id AS b FROM test_table. (CYCLIC_ALIASES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37532) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT (1 + b + 1 + id) AS id, b as c, id as b FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2588: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039782242 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039780580 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 18. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 19. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 20. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 21. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 2024.12.17 03:18:19.069567 [ 8562 ] {1fa0cdbb-a90f-4c79-8204-413a16906cd8} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT ((1 + b) + 1) + id AS id, b AS c, id AS b FROM test_table. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2588: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039782242 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039780580 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x0000000039776304 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:242: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974d061 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 18. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 19. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 20. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 21. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 2024.12.17 03:18:19.602042 [ 1386 ] {bbeadd94-36fb-402a-8988-1de719b87065} executeQuery: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('Hold my beer...'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37540) (comment: 02337_base58.sql) (in query: SELECT base58Decode('Hold my beer...');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000009434857 in /usr/bin/clickhouse 3. DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ca05cab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:18:20.156254 [ 1386 ] {bbeadd94-36fb-402a-8988-1de719b87065} TCPHandler: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('Hold my beer...'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000009434857 in /usr/bin/clickhouse 3. DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ca05cab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:18:20.156351 [ 7071 ] {ceba618b-b18c-4038-84c5-99c22434216e} executeQuery: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 1, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37612) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d14906f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:20.157680 [ 7071 ] {ceba618b-b18c-4038-84c5-99c22434216e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 1, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d14906f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:20.177547 [ 7071 ] {f02bec9c-4cc2-4d8e-94c1-fb5ee40c3a2a} executeQuery: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 4, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37612) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d14906f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:20.178890 [ 7071 ] {f02bec9c-4cc2-4d8e-94c1-fb5ee40c3a2a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 4, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d14906f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:20.754595 [ 7071 ] {32fc658f-8cb2-42ce-a54a-441ddbc19128} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37612) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d1499a6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:20.756042 [ 7071 ] {32fc658f-8cb2-42ce-a54a-441ddbc19128} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d1499a6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:21.334189 [ 7071 ] {1bd6e88c-4c82-4468-8826-190d70276aa3} executeQuery: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37612) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d149e20 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:21.743468 [ 7071 ] {1bd6e88c-4c82-4468-8826-190d70276aa3} TCPHandler: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d149e20 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:21.744096 [ 2794 ] {784c4a6b-686a-4350-93c4-624e73ef0f25} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37646) (comment: 02318_template_schema_inference_bug.sql) (in query: desc file('data_02318.tsv', 'Template') SETTINGS format_template_row='nonexist', format_template_resultset='nonexist';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000002099c978 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x000000003ea74206 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:0: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x000000003ea8871b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: String std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::FormatSettings const&) @ 0x000000003ea8939b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getAdditionalInfoForSchemaCache(String const&, std::shared_ptr, std::optional const&) @ 0x000000003e134d6b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:666: DB::getKeysForSchemaCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000003e181ccb in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::getKeyForSchemaCache(String const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000003e1814f2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::tryGetColumnsFromCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x000000003bc29174 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:393: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1607e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:22.063588 [ 2794 ] {784c4a6b-686a-4350-93c4-624e73ef0f25} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000002099c978 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x000000003ea74206 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:0: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x000000003ea8871b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: String std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::FormatSettings const&) @ 0x000000003ea8939b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getAdditionalInfoForSchemaCache(String const&, std::shared_ptr, std::optional const&) @ 0x000000003e134d6b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:666: DB::getKeysForSchemaCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000003e181ccb in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::getKeyForSchemaCache(String const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000003e1814f2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::tryGetColumnsFromCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x000000003bc29174 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:393: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1607e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:22.063635 [ 8594 ] {d017d30e-5d44-4fa1-bd7f-a2b649c4a650} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37648) (comment: 02317_like_with_trailing_escape.sql) (in query: -- const pattern SELECT haystack LIKE 'pattern\\' from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x0000000015175e37 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000002097f150 in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171434aa in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001713e554 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:22.065468 [ 8594 ] {d017d30e-5d44-4fa1-bd7f-a2b649c4a650} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x0000000015175e37 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000002097f150 in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171434aa in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001713e554 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:22.615979 [ 7071 ] {a3fe5465-e7e2-4a2b-9039-0229ec319f37} executeQuery: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0)). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37612) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1461a4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:18:22.992102 [ 7071 ] {a3fe5465-e7e2-4a2b-9039-0229ec319f37} TCPHandler: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1461a4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:18:22.992174 [ 8594 ] {29d931d2-3f5b-40b2-b3de-59f657b3f0de} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37648) (comment: 02317_like_with_trailing_escape.sql) (in query: -- non-const pattern SELECT haystack LIKE pattern from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x0000000015175e37 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000002097f150 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000001714bb13 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171492ee in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171413af in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001713e471 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:22.994500 [ 8594 ] {29d931d2-3f5b-40b2-b3de-59f657b3f0de} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x0000000015175e37 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000002097f150 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000001714bb13 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171492ee in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171413af in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001713e471 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:24.198038 [ 8562 ] {6387543e-1c24-444d-bfac-6d6a136eb817} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_ls30uy8j.t_proj. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37618) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM t_proj WHERE a < 100;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a6c68a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:24.199226 [ 8562 ] {6387543e-1c24-444d-bfac-6d6a136eb817} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_ls30uy8j.t_proj. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a6c68a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:24.701965 [ 8562 ] {7c47acd5-54b2-429c-8519-68dd8846b6ba} executeQuery: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37618) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM merge_table_standard_delete WHERE id = 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [92]) @ 0x000000002b1a2397 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a6c744 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:25.015290 [ 8562 ] {7c47acd5-54b2-429c-8519-68dd8846b6ba} TCPHandler: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [92]) @ 0x000000002b1a2397 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a6c744 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:25.015308 [ 2794 ] {12213558-fe10-4318-8668-428c06ed61d1} executeQuery: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35168) (comment: 02304_grouping_sets_with_rollup_cube.sql) (in query: SELECT number FROM numbers(10) GROUP BY GROUPING SETS ( number, number % 2 ) WITH ROLLUP;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b4ee6d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:25.016644 [ 2794 ] {12213558-fe10-4318-8668-428c06ed61d1} TCPHandler: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b4ee6d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:25.035757 [ 2794 ] {6da82268-05bd-49fb-bd25-8f5592f5ecfb} executeQuery: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35168) (comment: 02304_grouping_sets_with_rollup_cube.sql) (in query: SELECT number FROM numbers(10) GROUP BY GROUPING SETS ( number, number % 2 ) WITH CUBE;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b4ee6d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:25.035954 [ 8562 ] {2372b94e-2634-4fd9-9303-694056987eb8} executeQuery: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37618) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM merge_table_standard_delete WHERE id = 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [92]) @ 0x000000002b1a2397 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a6c744 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:25.036918 [ 2794 ] {6da82268-05bd-49fb-bd25-8f5592f5ecfb} TCPHandler: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b4ee6d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:25.036942 [ 8562 ] {2372b94e-2634-4fd9-9303-694056987eb8} TCPHandler: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [92]) @ 0x000000002b1a2397 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a6c744 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:28.135059 [ 8562 ] {0bf0f662-19ee-4f57-82a8-df068e1a958c} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: While processing multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35300) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchAny(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000019696226 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:28.474089 [ 8562 ] {0bf0f662-19ee-4f57-82a8-df068e1a958c} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: While processing multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000019696226 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:28.474172 [ 8849 ] {90ff2f33-b31e-45a7-bb54-337fca782a20} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 8 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_o29r6kyn_data1.jsonl). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35364) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_o29r6kyn_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:28.476192 [ 8849 ] {90ff2f33-b31e-45a7-bb54-337fca782a20} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 8 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_o29r6kyn_data1.jsonl). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:29.278323 [ 8562 ] {46d3d734-a421-40c0-b272-7583cc728d63} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: While processing multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35300) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstIndex(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000196b2dc6 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:29.597560 [ 8562 ] {46d3d734-a421-40c0-b272-7583cc728d63} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: While processing multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000196b2dc6 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:29.597678 [ 2793 ] {7c6bef95-ffff-451c-b757-448ee803f08c} executeQuery: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 6 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_o29r6kyn_data3.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35438) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_o29r6kyn_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ecc6 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:29.599952 [ 2793 ] {7c6bef95-ffff-451c-b757-448ee803f08c} TCPHandler: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 6 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_o29r6kyn_data3.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ecc6 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:30.394517 [ 8562 ] {5176c7c5-c581-4f06-bbfe-f8513d9ce966} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: While processing multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35300) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstPosition(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000196d3206 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:30.394561 [ 670 ] {2e820b9d-13bf-490d-8a36-3ac846488ae9} executeQuery: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 4 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_o29r6kyn_data2.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35488) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_o29r6kyn_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=24), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ecc6 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:30.396255 [ 8562 ] {5176c7c5-c581-4f06-bbfe-f8513d9ce966} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: While processing multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000196d3206 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:30.396989 [ 670 ] {2e820b9d-13bf-490d-8a36-3ac846488ae9} TCPHandler: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 4 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_o29r6kyn_data2.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ecc6 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:31.712542 [ 670 ] {cf32b6b7-5de8-4360-9f42-f392f6252e28} executeQuery: Code: 48. DB::Exception: Cannot support collation, please set compatibility_ignore_collation_in_create_table=true. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35546) (comment: 02269_create_table_with_collation.sql) (in query: CREATE TABLE t_02267_collation (x varchar(255) COLLATE utf8_unicode_ci NOT NULL) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:497: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393afca6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:31.714431 [ 670 ] {cf32b6b7-5de8-4360-9f42-f392f6252e28} TCPHandler: Code: 48. DB::Exception: Cannot support collation, please set compatibility_ignore_collation_in_create_table=true. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000035c54957 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:497: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393afca6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:33.021548 [ 9400 ] {2056714f-bf40-4f95-9330-40c7044577ac} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '{' before: '1\n': Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonl). (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35606) (comment: 02268_json_wrong_root_type_in_schema_inference.sql) (in query: select * from file('02268_data.jsonl');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:1382: DB::JSONUtils::readRowAndGetNamesAndDataTypesForJSONEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000003e601785 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:0: DB::JSONEachRowSchemaReader::readRowAndGetNamesAndDataTypes(bool&) @ 0x000000003e658a8a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e42f7ca in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:18:33.023218 [ 9400 ] {2056714f-bf40-4f95-9330-40c7044577ac} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '{' before: '1\n': Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonl). (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:1382: DB::JSONUtils::readRowAndGetNamesAndDataTypesForJSONEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000003e601785 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:0: DB::JSONEachRowSchemaReader::readRowAndGetNamesAndDataTypes(bool&) @ 0x000000003e658a8a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e42f7ca in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:18:33.587374 [ 9400 ] {839d1135-e932-4d66-8485-12c8fc170c6c} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '[' before: '1\n': Cannot extract table structure from JSONCompactEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonCompactEachRow). (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35606) (comment: 02268_json_wrong_root_type_in_schema_inference.sql) (in query: select * from file('02268_data.jsonCompactEachRow');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:1382: DB::JSONUtils::readRowAndGetDataTypesForJSONCompactEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000003e604207 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1222: DB::JSONCompactEachRowRowSchemaReader::readRowAndGetDataTypesImpl() @ 0x000000003e63fceb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:549: DB::FormatWithNamesAndTypesSchemaReader::readRowAndGetDataTypes() @ 0x000000003e49978d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IRowSchemaReader::readSchema() @ 0x000000003e42a5f4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000003e4949c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:18:33.589352 [ 9400 ] {839d1135-e932-4d66-8485-12c8fc170c6c} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '[' before: '1\n': Cannot extract table structure from JSONCompactEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonCompactEachRow). (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:1382: DB::JSONUtils::readRowAndGetDataTypesForJSONCompactEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000003e604207 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1222: DB::JSONCompactEachRowRowSchemaReader::readRowAndGetDataTypesImpl() @ 0x000000003e63fceb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:549: DB::FormatWithNamesAndTypesSchemaReader::readRowAndGetDataTypes() @ 0x000000003e49978d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IRowSchemaReader::readSchema() @ 0x000000003e42a5f4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000003e4949c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:18:36.875998 [ 9400 ] {0a383af1-9889-46b3-8b63-f0302f9c5e03} executeQuery: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45442) (comment: 02250_hints_for_projections.sh) (in query: ALTER TABLE t DROP PROJECTION pToDro), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:403: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000003baab4bf in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b90a317 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c349 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:36.878145 [ 9400 ] {0a383af1-9889-46b3-8b63-f0302f9c5e03} TCPHandler: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:403: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000003baab4bf in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b90a317 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c349 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:38.524810 [ 8779 ] {2fc5c5c3-ada8-4539-ab7e-3e76693f340c} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.526100 [ 8779 ] {2fc5c5c3-ada8-4539-ab7e-3e76693f340c} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.544083 [ 8779 ] {09238fe2-bf1b-4efa-8b22-3873314ed96b} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.545735 [ 8779 ] {09238fe2-bf1b-4efa-8b22-3873314ed96b} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.565718 [ 8779 ] {b607f8c6-3998-4df3-8b89-9180abfc74bd} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.567148 [ 8779 ] {b607f8c6-3998-4df3-8b89-9180abfc74bd} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.584506 [ 8779 ] {8568c09a-30da-4de9-90de-bec4686f6423} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.585976 [ 8779 ] {8568c09a-30da-4de9-90de-bec4686f6423} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.607320 [ 8779 ] {fa06c1b0-ad2b-4678-b854-90c4f5a48cfd} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.608799 [ 8779 ] {fa06c1b0-ad2b-4678-b854-90c4f5a48cfd} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.629621 [ 8779 ] {218d7fe7-0b53-4346-bd35-05a04d35ebdd} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.631055 [ 8779 ] {218d7fe7-0b53-4346-bd35-05a04d35ebdd} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.651042 [ 8779 ] {adb4850e-20ab-477d-ba8d-69193e87491f} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.653059 [ 8779 ] {adb4850e-20ab-477d-ba8d-69193e87491f} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.676490 [ 8779 ] {c5592315-b6ed-4f67-8527-e21edef61d1a} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:38.677986 [ 8779 ] {c5592315-b6ed-4f67-8527-e21edef61d1a} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.651729 [ 670 ] {4dc8d887-900b-4034-8579-bd432658fdd4} test_wxs7rl5q.rmt (ReplicatedMergeTreePartCheckThread): ReplicatedCheckResult DB::ReplicatedMergeTreePartCheckThread::checkPartImpl(const String &): Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/store/31b/31b74b47-1f0c-4fc8-bbf2-2906a5cc5758/0_0_0_0/columns.txt, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::OpenedFile::open() const @ 0x0000000035362926 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/OpenedFile.cpp:0: DB::OpenedFile::getFD() const @ 0x0000000035362a5e in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBufferFromFile.h:0: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x00000000353377c2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_0::operator()(unsigned long, unsigned long, int) const @ 0x0000000035335a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/createReadBufferFromFileBase.cpp:216: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x0000000035335670 in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/DiskLocal.cpp:335: DB::DiskLocal::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003724a204 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cbba369 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/checkDataPart.cpp:93: DB::checkDataPart(std::shared_ptr, DB::IDataPartStorage const&, DB::NamesAndTypesList const&, DB::MergeTreeDataPartType const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::ReadSettings const&, bool, std::function) @ 0x000000003d9dddc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/checkDataPart.cpp:314: DB::checkDataPart(std::shared_ptr, bool, std::function) @ 0x000000003d9dd345 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1055: DB::ReplicatedMergeTreePartCheckThread::checkPartImpl(String const&) @ 0x000000003d843817 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp:433: DB::ReplicatedMergeTreePartCheckThread::checkPartAndFix(String const&, std::optional*) @ 0x000000003d849770 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::StorageReplicatedMergeTree::checkData(std::shared_ptr const&, std::shared_ptr) @ 0x000000003c21beb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCheckQuery.cpp:0: DB::InterpreterCheckQuery::execute() @ 0x0000000039a4fb4c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:18:39.651808 [ 8779 ] {2ca33ab3-7c05-4c9c-88ea-9b3ddeb52079} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate('1980', '10', '20');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.652225 [ 670 ] {4dc8d887-900b-4034-8579-bd432658fdd4} test_wxs7rl5q.rmt (ReplicatedMergeTreePartCheckThread): Part 0_0_0_0 looks broken. Removing it and will try to fetch. 2024.12.17 03:18:39.652589 [ 670 ] {4dc8d887-900b-4034-8579-bd432658fdd4} test_wxs7rl5q.rmt (ReplicatedMergeTreePartCheckThread): Part 0_0_0_0 exists in ZooKeeper and the local part was broken. Detaching it, removing from ZooKeeper and queueing a fetch. 2024.12.17 03:18:39.653044 [ 8779 ] {2ca33ab3-7c05-4c9c-88ea-9b3ddeb52079} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.653893 [ 670 ] {4dc8d887-900b-4034-8579-bd432658fdd4} test_wxs7rl5q.rmt (31b74b47-1f0c-4fc8-bbf2-2906a5cc5758): Detached 1 parts covered by broken part 0_0_0_0: 0_0_0_0 2024.12.17 03:18:39.668243 [ 777 ] {} test_wxs7rl5q.rmt (31b74b47-1f0c-4fc8-bbf2-2906a5cc5758): Directory /var/lib/clickhouse/store/31b/31b74b47-1f0c-4fc8-bbf2-2906a5cc5758/0_0_0_0 (part to remove) doesn't exist or one of nested files has gone. Most likely this is due to manual removing. This should be discouraged. Ignoring. 2024.12.17 03:18:39.669263 [ 8779 ] {9ff01726-04eb-4be5-83c5-df78df567d43} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate('-1980', 3, 17);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.670524 [ 8779 ] {9ff01726-04eb-4be5-83c5-df78df567d43} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.686221 [ 8779 ] {7025ba62-0ab7-45af-b92e-ae3b2bd80ed6} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate('aa', 3, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.687519 [ 8779 ] {7025ba62-0ab7-45af-b92e-ae3b2bd80ed6} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.702688 [ 8779 ] {ad8eeae3-dbfd-47c3-9e98-112f26f4f4c5} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'month' of function makeDate, expected Number, got String: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(1994, 'aa', 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.703906 [ 8779 ] {ad8eeae3-dbfd-47c3-9e98-112f26f4f4c5} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'month' of function makeDate, expected Number, got String: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.719273 [ 8779 ] {b7a8ebf1-5248-4646-9d62-a6c83b1ef4f5} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'day' of function makeDate, expected Number, got String: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(1984, 3, 'aa');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:39.720461 [ 8779 ] {b7a8ebf1-5248-4646-9d62-a6c83b1ef4f5} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'day' of function makeDate, expected Number, got String: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719410c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:40.011107 [ 848 ] {} test_wxs7rl5q.rmt (ReplicatedMergeTreePartCheckThread): No replica has part covering 0_0_0_0 and a merge is impossible: we didn't find smaller parts with either the same min block or the same max block. 2024.12.17 03:18:40.084242 [ 848 ] {} test_wxs7rl5q.rmt (ReplicatedMergeTreePartCheckThread): Part 0_0_0_0 is lost forever. 2024.12.17 03:18:40.523061 [ 8779 ] {35aef6ef-9e74-408f-9ee6-ff6cd8da5820} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 1 (UInt16), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(1980);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719477b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:40.524795 [ 8779 ] {35aef6ef-9e74-408f-9ee6-ff6cd8da5820} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 1 (UInt16), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719477b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:40.542455 [ 8779 ] {cae2799d-6ecb-465c-b40f-ff4f6364cd45} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 4 (UInt16, UInt8, UInt8, UInt8), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45470) (comment: 02242_make_date.sql) (in query: select makeDate(1980, 1, 1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719477b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:40.544022 [ 8779 ] {cae2799d-6ecb-465c-b40f-ff4f6364cd45} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 4 (UInt16, UInt8, UInt8, UInt8), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352f1278 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e960c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001719477b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:18:49.780393 [ 2793 ] {5618462b-ac7e-4a88-8c43-4ff44d99db37} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55838) (comment: 02212_h3_get_res0_indexes.sql) (in query: SELECT h3GetRes0Indexes(3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:18:49.780459 [ 8562 ] {7eef9201-c7fd-4ee5-b51d-eae252b26934} executeQuery: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02232_allow_only_replicated_engine.sh) (in query: /* ddl_entry=query-0000000003 */ CREATE TABLE test_lhn3b3t4_db.tab_mt UUID '5a894687-b09a-4776-b22f-89518cf0cd01' (`x` UInt32) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 60029, min_bytes_for_wide_part = 949043629, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 7879, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 908297, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 388168, allow_vertical_merges_from_compact_to_wide_parts = 1, marks_compress_block_size = 76154, primary_key_compress_block_size = 19201), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [116]) @ 0x000000003940feb7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1462: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f5817 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371d35c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371507bd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393db8c3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:49.782052 [ 2793 ] {5618462b-ac7e-4a88-8c43-4ff44d99db37} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:18:49.789905 [ 8562 ] {7eef9201-c7fd-4ee5-b51d-eae252b26934} executeQuery: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55844) (comment: 02232_allow_only_replicated_engine.sh) (in query: CREATE TABLE test_lhn3b3t4_db.tab_mt (`x` UInt32) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 60029, min_bytes_for_wide_part = 949043629, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 7879, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 908297, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 388168, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 76154, primary_key_compress_block_size = 19201), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [116]) @ 0x000000003940feb7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1462: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f5817 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371d35c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371507bd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393db8c3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:49.792498 [ 8562 ] {7eef9201-c7fd-4ee5-b51d-eae252b26934} TCPHandler: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [116]) @ 0x000000003940feb7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1462: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f5817 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371d35c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371507bd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393db8c3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:51.227616 [ 9407 ] {75cb8b26-52c2-4468-8b69-e9ec3205ab6d} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55938) (comment: 02200_use_skip_indexes.sql) (in query: SELECT * FROM data_02200 WHERE value = 1 SETTINGS use_skip_indexes=0, max_rows_to_read=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:51.229016 [ 9407 ] {75cb8b26-52c2-4468-8b69-e9ec3205ab6d} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:53.847642 [ 3707 ] {95e688d1-aedf-4c9b-a2ad-8b3c1a9c36dd} executeQuery: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:916: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000393c58e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000393bf386 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:673: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b1938 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:53.849547 [ 3707 ] {95e688d1-aedf-4c9b-a2ad-8b3c1a9c36dd} TCPHandler: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:916: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000393c58e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000393bf386 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:673: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b1938 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:54.462507 [ 9399 ] {5bb2377b-f515-480d-9df1-6d3a92386684} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35672) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:54.462605 [ 3707 ] {0e194a77-6622-4f8a-9f3b-cdf5b275472d} executeQuery: Code: 42. DB::Exception: ORDER BY or PRIMARY KEY clause is missing. Consider using extended storage definition syntax with ORDER BY or PRIMARY KEY clause. With deprecated old syntax (highly not recommended) storage MergeTree requires 3 to 4 parameters: name of column with date, [sampling element of primary key], primary key expression, index granularity Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000003da114da in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0b1c2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:54.463830 [ 3707 ] {0e194a77-6622-4f8a-9f3b-cdf5b275472d} TCPHandler: Code: 42. DB::Exception: ORDER BY or PRIMARY KEY clause is missing. Consider using extended storage definition syntax with ORDER BY or PRIMARY KEY clause. With deprecated old syntax (highly not recommended) storage MergeTree requires 3 to 4 parameters: name of column with date, [sampling element of primary key], primary key expression, index granularity Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000003da114da in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0b1c2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:54.463888 [ 9399 ] {5bb2377b-f515-480d-9df1-6d3a92386684} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:55.047365 [ 3707 ] {c7019ba2-d5ec-4a73-9aea-0f5639c3b673} executeQuery: Code: 36. DB::Exception: You must provide an ORDER BY or PRIMARY KEY expression in the table definition. If you don't want this table to be sorted, use ORDER BY/PRIMARY KEY (). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8) PARTITION BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [151]) @ 0x0000000039409b97 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:537: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0a31b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:55.534326 [ 3707 ] {c7019ba2-d5ec-4a73-9aea-0f5639c3b673} TCPHandler: Code: 36. DB::Exception: You must provide an ORDER BY or PRIMARY KEY expression in the table definition. If you don't want this table to be sorted, use ORDER BY/PRIMARY KEY (). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [151]) @ 0x0000000039409b97 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:537: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0a31b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:55.534484 [ 1386 ] {1dc6d1bf-6d7c-459d-8b2c-53818ceffa99} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from ORC format file. Error: std::exception. Code: 1001, type: orc::ParseError, e.what() = Footer is corrupt: STRUCT type 0 has 3 subTypes, but has 2 fieldNames (version 23.8.16.43.altinitystable (altinity build)). You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/corrupted.orc). (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35704) (comment: 02185_orc_corrupted_file.sh) (in query: select * from file('corrupted.orc')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000020afaa75 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:169: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17fd6c in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 11. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:56.120838 [ 1386 ] {1dc6d1bf-6d7c-459d-8b2c-53818ceffa99} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from ORC format file. Error: std::exception. Code: 1001, type: orc::ParseError, e.what() = Footer is corrupt: STRUCT type 0 has 3 subTypes, but has 2 fieldNames (version 23.8.16.43.altinitystable (altinity build)). You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/corrupted.orc). (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000020afaa75 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:169: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17fd6c in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 11. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:56.120974 [ 9400 ] {5a467404-20b9-43ed-b193-4b53b40bc064} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: While processing map(1, 'Test') AS value, CAST(value, 'Array(Tuple(UInt64, UInt64))' AS type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35718) (comment: 02179_map_cast_to_array.sql) (in query: WITH map(1, 'Test') AS value, 'Array(Tuple(UInt64, UInt64))' AS type SELECT value, cast(value, type), cast(materialize(value), type);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 14. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6e00ab in /usr/bin/clickhouse 15. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6df164 in /usr/bin/clickhouse 16. DB::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6dd39b in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6dca64 in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 19. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 22. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 23. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 24. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 2024.12.17 03:18:56.122366 [ 9400 ] {5a467404-20b9-43ed-b193-4b53b40bc064} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: While processing map(1, 'Test') AS value, CAST(value, 'Array(Tuple(UInt64, UInt64))' AS type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 14. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6e00ab in /usr/bin/clickhouse 15. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6df164 in /usr/bin/clickhouse 16. DB::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6dd39b in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6dca64 in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 19. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 22. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 23. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 24. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 2024.12.17 03:18:57.723910 [ 9470 ] {b804521b-e77c-49f7-871b-94e746914bea} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt64)): While processing mapApply((k, v) -> tuple(v + 9223372036854775806), col). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((k, v) -> tuple(v + 9223372036854775806), col) FROM table_map;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f108 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:57.725316 [ 9470 ] {b804521b-e77c-49f7-871b-94e746914bea} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt64)): While processing mapApply((k, v) -> tuple(v + 9223372036854775806), col). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f108 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:18:59.089237 [ 1837 ] {c5df2b37-4977-4243-ad14-94e46b7ff4d4} executeQuery: Code: 47. DB::Exception: Missing columns: '_shard_num' while processing query: 'SELECT _shard_num FROM system.one', required columns: '_shard_num'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35814) (comment: 02163_shard_num.sql) (in query: SELECT _shard_num FROM remote('127.1', system.one) AS a INNER JOIN (SELECT _shard_num FROM system.one) AS b USING (dummy);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:59.365362 [ 3707 ] {318d5d79-17d1-4e0b-8c6c-ff6f37c70032} executeQuery: Code: 80. DB::Exception: Database engine must be specified. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE DATABASE test_02184 ORDER BY kek;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a769237 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039395008 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:59.365368 [ 1837 ] {c5df2b37-4977-4243-ad14-94e46b7ff4d4} TCPHandler: Code: 47. DB::Exception: Missing columns: '_shard_num' while processing query: 'SELECT _shard_num FROM system.one', required columns: '_shard_num'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:59.932302 [ 3707 ] {318d5d79-17d1-4e0b-8c6c-ff6f37c70032} TCPHandler: Code: 80. DB::Exception: Database engine must be specified. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a769237 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039395008 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:18:59.932565 [ 9470 ] {1d4a338f-862a-435a-9679-aa07324b6f8b} executeQuery: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db1117e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:18:59.934698 [ 9470 ] {1d4a338f-862a-435a-9679-aa07324b6f8b} TCPHandler: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db1117e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:19:00.292716 [ 3707 ] {78c7a5b4-5961-4a62-a462-332a608902e8} executeQuery: Code: 115. DB::Exception: Setting x is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE DATABASE test_02184 SETTINGS x=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:132: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a64cfd in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:649: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a61886 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17cbc in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x0000000039d956d9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x0000000039d96507 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a997a23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:00.845982 [ 3707 ] {78c7a5b4-5961-4a62-a462-332a608902e8} TCPHandler: Code: 115. DB::Exception: Setting x is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:132: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a64cfd in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:649: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a61886 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17cbc in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x0000000039d956d9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x0000000039d96507 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a997a23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:00.846203 [ 9470 ] {00a5fe49-faf4-41ea-b091-0357fe1f10d6} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(UInt8): While processing mapApply((x, y) -> x, map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f01e in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:19:00.848308 [ 9470 ] {00a5fe49-faf4-41ea-b091-0357fe1f10d6} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(UInt8): While processing mapApply((x, y) -> x, map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f01e in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:19:00.872215 [ 9470 ] {be2b9267-399b-41de-a2eb-9a0c31ed5176} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(String): While processing mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f01e in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:19:00.873765 [ 9470 ] {be2b9267-399b-41de-a2eb-9a0c31ed5176} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(String): While processing mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f01e in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:19:01.444263 [ 9470 ] {8ec1e351-aed7-4446-8b2b-190fd2f0418d} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Tuple(UInt8, UInt8) given: While processing mapApply(x -> (x, x), map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:45: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4e599 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 6. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:19:01.814942 [ 3707 ] {cb5ab8fd-fb18-4bc1-b150-5dbd97931c40} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE TEMPORARY TABLE tmp2 (n int) ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc094c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x000000003940861b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x0000000037ac2da4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f0478 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:01.814927 [ 9470 ] {8ec1e351-aed7-4446-8b2b-190fd2f0418d} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Tuple(UInt8, UInt8) given: While processing mapApply(x -> (x, x), map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:45: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4e599 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 6. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:19:01.816334 [ 3707 ] {cb5ab8fd-fb18-4bc1-b150-5dbd97931c40} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc094c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x000000003940861b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x0000000037ac2da4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f0478 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:01.829363 [ 3707 ] {70011f9e-e27e-4a04-b232-10630e7914bb} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE TEMPORARY TABLE tmp2 (n int, PRIMARY KEY (n));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc094c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x000000003940861b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x0000000037ac2da4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f0478 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:01.830699 [ 3707 ] {70011f9e-e27e-4a04-b232-10630e7914bb} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc094c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x000000003940861b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x0000000037ac2da4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f0478 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:01.842156 [ 9470 ] {f62168bd-9873-42bd-9913-6b05b0c359dd} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt8, UInt8, UInt8)): While processing mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f108 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:19:01.843617 [ 9470 ] {f62168bd-9873-42bd-9913-6b05b0c359dd} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt8, UInt8, UInt8)): While processing mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000036d4f108 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001d99e865 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db10c56 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:19:02.501146 [ 3707 ] {eb3b73b2-b42a-4459-92b9-1df8d585561c} executeQuery: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE mem AS SELECT 1 as n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:916: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000393c58e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000393bf386 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:673: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b1938 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:02.501278 [ 9470 ] {5f303156-a706-45df-8336-d28cf97e52f4} executeQuery: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map: While processing mapApply((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000001db1f2a0 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db11335 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:02.502756 [ 3707 ] {eb3b73b2-b42a-4459-92b9-1df8d585561c} TCPHandler: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:916: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000393c58e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000393bf386 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:673: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b1938 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:02.503287 [ 9470 ] {5f303156-a706-45df-8336-d28cf97e52f4} TCPHandler: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map: While processing mapApply((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000001db1f2a0 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db11335 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:03.148458 [ 9470 ] {cc899452-f177-4e0c-8831-a5ac39f63fa1} executeQuery: Code: 43. DB::Exception: Argument 2 of function arrayMap must be Array. Found Function((?, ?) -> ?) instead: While processing mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x000000000c410182 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db1beb2 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db11344 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:03.472783 [ 3707 ] {9a35bb69-4b90-4052-8de1-491f1ab5adac} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35620) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE mem ORDER BY n AS SELECT 1 as n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc094c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:03.472768 [ 9470 ] {cc899452-f177-4e0c-8831-a5ac39f63fa1} TCPHandler: Code: 43. DB::Exception: Argument 2 of function arrayMap must be Array. Found Function((?, ?) -> ?) instead: While processing mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x000000000c410182 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db1beb2 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db11344 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:03.474353 [ 3707 ] {9a35bb69-4b90-4052-8de1-491f1ab5adac} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc094c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:04.060299 [ 9470 ] {97b7d560-3175-4cb2-80b1-f68d528dcd6e} executeQuery: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapApply((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x+1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7452 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d59769 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:19:04.062224 [ 9470 ] {97b7d560-3175-4cb2-80b1-f68d528dcd6e} TCPHandler: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapApply((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7452 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d59769 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:19:04.642176 [ 9470 ] {72145b29-d11b-411f-9166-579852dfbdda} executeQuery: Code: 42. DB::Exception: Function mapFilter requires at least one argument, passed 0: While processing mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf9afe in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:19:04.644233 [ 9470 ] {72145b29-d11b-411f-9166-579852dfbdda} TCPHandler: Code: 42. DB::Exception: Function mapFilter requires at least one argument, passed 0: While processing mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf9afe in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:19:05.234038 [ 9470 ] {63f83192-8a5f-4a7f-b89a-f64215bb7b36} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Int32: While processing mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (toInt32(x)), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.236076 [ 9470 ] {63f83192-8a5f-4a7f-b89a-f64215bb7b36} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Int32: While processing mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.259325 [ 9470 ] {3c4b0866-dfba-4710-8259-7c3dd80263a1} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found String: While processing mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.260854 [ 9470 ] {3c4b0866-dfba-4710-8259-7c3dd80263a1} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found String: While processing mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.284233 [ 9470 ] {a2022686-5631-474a-ba4c-8e7f3303cbde} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)): While processing mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.285968 [ 9470 ] {a2022686-5631-474a-ba4c-8e7f3303cbde} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)): While processing mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.312998 [ 9470 ] {6dc5bdfd-e236-4a18-830c-f6558baad35d} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): While processing mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.314483 [ 9470 ] {6dc5bdfd-e236-4a18-830c-f6558baad35d} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): While processing mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db0544f in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001daf94c8 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:05.955746 [ 9470 ] {2f3f4fa5-23a2-4225-84f2-819b950c037f} executeQuery: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map: While processing mapFilter((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000001db0eea0 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001daf9cb5 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:05.957745 [ 9470 ] {2f3f4fa5-23a2-4225-84f2-819b950c037f} TCPHandler: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map: While processing mapFilter((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000001db0eea0 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001daf9cb5 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:06.591788 [ 9470 ] {d899190e-a32b-4a38-9b15-0babdc09cab5} executeQuery: Code: 43. DB::Exception: Argument 2 of function arrayFilter must be Array. Found Function((?, ?) -> ?) instead: While processing mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x000000000c410182 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db07992 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001daf9cc4 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:06.593682 [ 9470 ] {d899190e-a32b-4a38-9b15-0babdc09cab5} TCPHandler: Code: 43. DB::Exception: Argument 2 of function arrayFilter must be Array. Found Function((?, ?) -> ?) instead: While processing mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x000000000c410182 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001db07992 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001daf9cc4 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x00000000093bd931 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000352c919b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d58de3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:19:06.617197 [ 9470 ] {dfb0149a-90d3-4011-9399-d112112ee29d} executeQuery: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7452 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d59769 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:19:06.618490 [ 9470 ] {dfb0149a-90d3-4011-9399-d112112ee29d} TCPHandler: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7452 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d59769 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:19:07.190829 [ 9470 ] {14624fce-3bd3-4e51-8ccb-a1abae81f37a} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, Tuple(UInt8, UInt8) because some of them are Tuple and some of them are not: While processing mapConcat([1, 2], map(1, 2)). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapConcat([1, 2], map(1, 2));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b0c2 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e747a3 in /usr/bin/clickhouse 6. DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001dcf6e7d in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionMapToArrayAdapter, DB::NameMapConcat>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d99cae8 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:19:07.192885 [ 9470 ] {14624fce-3bd3-4e51-8ccb-a1abae81f37a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, Tuple(UInt8, UInt8) because some of them are Tuple and some of them are not: While processing mapConcat([1, 2], map(1, 2)). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b0c2 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e747a3 in /usr/bin/clickhouse 6. DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001dcf6e7d in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionMapToArrayAdapter, DB::NameMapConcat>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d99cae8 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:19:07.810158 [ 9470 ] {ce0b2352-1ffa-40f8-aabe-0feb6cc2c019} executeQuery: Code: 43. DB::Exception: First argument for function arraySort must be a function. Actual Array(Tuple(UInt8, UInt8)): While processing mapSort(map(1, 2), map(3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapSort(map(1, 2), map(3, 4));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped, DB::NameArraySort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db52a29 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::NameArraySort>, DB::MapToNestedAdapter, DB::NameMapSort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db49688 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:07.811798 [ 9470 ] {ce0b2352-1ffa-40f8-aabe-0feb6cc2c019} TCPHandler: Code: 43. DB::Exception: First argument for function arraySort must be a function. Actual Array(Tuple(UInt8, UInt8)): While processing mapSort(map(1, 2), map(3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped, DB::NameArraySort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db52a29 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::NameArraySort>, DB::MapToNestedAdapter, DB::NameMapSort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001db49688 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:19:07.829236 [ 9470 ] {fe8073ff-aa37-4010-b523-4f57955bfa52} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: While processing mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:19:07.830745 [ 9470 ] {fe8073ff-aa37-4010-b523-4f57955bfa52} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: While processing mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:19:07.851314 [ 9470 ] {a751cc58-9851-4965-89d7-616ce3c296fd} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: While processing mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:19:07.852742 [ 9470 ] {a751cc58-9851-4965-89d7-616ce3c296fd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: While processing mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:19:11.990274 [ 8562 ] {} DynamicQueryHandler: Code: 115. DB::Exception: Setting input_format_with_names_use_headers is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings: Maybe you meant ['input_format_with_names_use_header','input_format_with_types_use_header']. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:132: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a64cfd in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:649: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a61886 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17cbc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x0000000035e187ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x00000000378b6db5 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:0: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df80aa0 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:19:42.720752 [ 8849 ] {4b030ba5-ccc3-4044-8465-4a969a526ef4} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a ORC format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52480) (comment: 02113_format_row_bug.sql) (in query: select formatRow('ORC', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:42.722467 [ 8849 ] {4b030ba5-ccc3-4044-8465-4a969a526ef4} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a ORC format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:42.748345 [ 8849 ] {05637841-cfc2-40a5-b5e6-95873809356a} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Parquet format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52480) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Parquet', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:42.749885 [ 8849 ] {05637841-cfc2-40a5-b5e6-95873809356a} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Parquet format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:42.777315 [ 8849 ] {a1e89b05-2503-45cf-8f68-73041862a4fb} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Arrow format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52480) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Arrow', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:42.779175 [ 8849 ] {a1e89b05-2503-45cf-8f68-73041862a4fb} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Arrow format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:42.804854 [ 8849 ] {12e1de6e-5588-460c-b9cf-fd0c06ddb34b} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Native format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52480) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Native', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:42.806588 [ 8849 ] {12e1de6e-5588-460c-b9cf-fd0c06ddb34b} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Native format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c27bb5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:43.785165 [ 1077 ] {c32f8933-2f19-42aa-9884-d3e03a91b350} executeQuery: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52510) (comment: 02112_with_fill_interval.sql) (in query: SELECT d, count() FROM with_fill_date GROUP BY d ORDER BY d WITH FILL STEP INTERVAL 1 HOUR LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e2cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:43.787281 [ 1077 ] {c32f8933-2f19-42aa-9884-d3e03a91b350} TCPHandler: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e2cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:44.379093 [ 1077 ] {ad5b8bfc-420e-4f3b-b97f-deac7733c47b} executeQuery: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52510) (comment: 02112_with_fill_interval.sql) (in query: SELECT d, count() FROM with_fill_date GROUP BY d ORDER BY d WITH FILL STEP INTERVAL 1 HOUR LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e2cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:44.381665 [ 1077 ] {ad5b8bfc-420e-4f3b-b97f-deac7733c47b} TCPHandler: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e2cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:45.717977 [ 1077 ] {33aef99a-1bfc-4d3f-8309-f492e289c5b3} executeQuery: Code: 475. DB::Exception: STEP of Interval type can be used only with Date/DateTime types, but got UInt64. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52510) (comment: 02112_with_fill_interval.sql) (in query: SELECT number FROM numbers(100) ORDER BY number WITH FILL STEP INTERVAL 1 HOUR;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:175: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e2de6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:45.720494 [ 1077 ] {33aef99a-1bfc-4d3f-8309-f492e289c5b3} TCPHandler: Code: 475. DB::Exception: STEP of Interval type can be used only with Date/DateTime types, but got UInt64. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:175: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000003f0e2de6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000003f0d52d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/FillingStep.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000003f0d3ea5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000369ec2d1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000369ebdd6 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000036a3d961 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0d29c2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f110a10 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:59.539518 [ 7430 ] {49561021-7dbd-431f-a856-eb3a46274ed5} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Tuple(Date, String), Tuple(String)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52158) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397a34a1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972f323 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:59.541499 [ 7430 ] {49561021-7dbd-431f-a856-eb3a46274ed5} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Tuple(Date, String), Tuple(String)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397a34a1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972f323 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:59.563638 [ 7430 ] {02882235-727d-4c7d-bff7-63401dc98f56} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Tuple(UInt32, String), Tuple(UInt8)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52158) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397a34a1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972f323 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:19:59.565197 [ 7430 ] {02882235-727d-4c7d-bff7-63401dc98f56} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Tuple(UInt32, String), Tuple(UInt8)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397a34a1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972f323 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:00.128191 [ 5015 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2024.12.17 03:20:00.141043 [ 7430 ] {d564877d-06ef-4197-be64-cf13abd39bf1} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, String because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52158) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE tuple(id, value) = tuple(value, id);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b16c in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfcf5b in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb34d5 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000003ebab516 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000003f104581 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x0000000039b98f63 in /usr/bin/clickhouse 16. ./build_docker/./src/Planner/Planner.cpp:243: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x0000000039c8726f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000039c61831 in /usr/bin/clickhouse 18. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x0000000039c54f8a in /usr/bin/clickhouse 19. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x0000000039c52652 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0f71 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:00.810578 [ 7430 ] {d564877d-06ef-4197-be64-cf13abd39bf1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, String because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b16c in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfcf5b in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb34d5 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000003ebab516 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000003f104581 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x0000000039b98f63 in /usr/bin/clickhouse 16. ./build_docker/./src/Planner/Planner.cpp:243: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x0000000039c8726f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000039c61831 in /usr/bin/clickhouse 18. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x0000000039c54f8a in /usr/bin/clickhouse 19. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x0000000039c52652 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0f71 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:00.810734 [ 5015 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTPHandler.cpp:0: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000003df739fa in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df77c10 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:01.250674 [ 1386 ] {9a5d066a-eba9-41f3-91e3-43399e7912cd} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 MiB (attempt to allocate chunk of 1068903 bytes), maximum: 1.00 B. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52290) (comment: 02028_create_select_settings.sql) (in query: CREATE TABLE test_table ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 19557, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17482, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 77, min_merge_bytes_to_use_direct_io = 8112005554, index_granularity_bytes = 14239179, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 19662, primary_key_compress_block_size = 72402 AS SELECT a_table.a, b_table.b_arr FROM (SELECT arrayJoin(range(10000)) AS a) AS a_table CROSS JOIN (SELECT range(10000) AS b_arr) AS b_table SETTINGS max_memory_usage = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x0000000020a14f56 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x0000000020a1314d in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c71243 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x0000000037261a83 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/DiskLocal.cpp:0: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003724ab9b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce38a2c in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1591c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:20:01.579936 [ 1386 ] {9a5d066a-eba9-41f3-91e3-43399e7912cd} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 MiB (attempt to allocate chunk of 1068903 bytes), maximum: 1.00 B. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x0000000020a14f56 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x0000000020a1314d in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c71243 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x0000000037261a83 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/DiskLocal.cpp:0: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003724ab9b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce38a2c in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1591c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:20:01.579959 [ 5015 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/HTTPHandler.cpp:0: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000003df739fa in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df77c10 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:02.242518 [ 7430 ] {f960fa0f-a1c1-4f3e-9d44-e022af4d7240} executeQuery: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope SELECT * FROM test_tuple_filter WHERE equals((id, value)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52158) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE equals((id, value));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397a34a1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972f323 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:02.244445 [ 7430 ] {f960fa0f-a1c1-4f3e-9d44-e022af4d7240} TCPHandler: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope SELECT * FROM test_tuple_filter WHERE equals((id, value)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397a34a1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972f323 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:15.458781 [ 1077 ] {a010e947-391e-4cd0-8485-11002c8089c2} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 1.3)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58664) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, 1.3));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1bb6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:15.470054 [ 1077 ] {a010e947-391e-4cd0-8485-11002c8089c2} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 1.3)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1bb6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:16.009668 [ 1077 ] {3b4ca502-1733-4c43-ab84-909cddfdba6f} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, [1, 2])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58664) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, [1,2]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1bb6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:16.017081 [ 1077 ] {3b4ca502-1733-4c43-ab84-909cddfdba6f} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, [1, 2])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1bb6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:16.054143 [ 3431 ] {bbbdf99f-fe68-4c98-92ce-ca991506bf26} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO test_hgwr627p.async_inserts FORMAT JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:16.091170 [ 3431 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_hgwr627p.async_inserts FORMAT JSONEachRow': Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:16.104153 [ 1077 ] {5c7074a9-101e-424d-b733-19956f68c158} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 'a')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58664) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, 'a'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1bb6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:16.112350 [ 16564 ] {4331793a-e8b5-449f-ac7a-3018dc0a5815} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33766) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:16.112811 [ 9398 ] {59f17541-64e0-45a2-8e20-f6446da47ad5} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33788) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:16.118528 [ 8849 ] {65de99f0-2fb8-4460-b3d2-c28f3bbff6a3} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33756) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:16.118953 [ 1077 ] {5c7074a9-101e-424d-b733-19956f68c158} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 'a')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1bb6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:16.143355 [ 9398 ] {59f17541-64e0-45a2-8e20-f6446da47ad5} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:16.159264 [ 16564 ] {4331793a-e8b5-449f-ac7a-3018dc0a5815} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:16.162315 [ 8849 ] {65de99f0-2fb8-4460-b3d2-c28f3bbff6a3} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 305.00 B) in table 'test_hgwr627p.async_inserts (a01a10cf-5096-4c22-a4a6-937975b24390)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d036e33 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf1d738 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000003dac11db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f7cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e722 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:652: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e7a5e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:16.795769 [ 1077 ] {feda7fed-cdc7-438a-ad2d-395e44b8e15b} executeQuery: Code: 43. DB::Exception: First argument for function tupleToNameValuePairs must be a tuple.: While processing tupleToNameValuePairs(33). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58664) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(33);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1d86 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:17.081184 [ 16742 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049d118ce in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d2ec3a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x0000000049d3741f in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x0000000049cdc376 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e10def9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10bd5d in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.307749 [ 16615 ] {ba73b2b3-38cf-4ba6-bd3b-9aa14e338864} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:58910). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58910) (comment: 02015_async_inserts_stress_long.sh) (in query: SELECT * FROM async_inserts FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000003e0ceae7 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d01 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:17.307954 [ 16737 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049d118ce in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d2ec3a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x0000000049d3741f in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x0000000049cdc376 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e10def9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10bd5d in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.307957 [ 1077 ] {feda7fed-cdc7-438a-ad2d-395e44b8e15b} TCPHandler: Code: 43. DB::Exception: First argument for function tupleToNameValuePairs must be a tuple.: While processing tupleToNameValuePairs(33). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d6f1d86 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:17.668783 [ 9401 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.668992 [ 16615 ] {ba73b2b3-38cf-4ba6-bd3b-9aa14e338864} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:58910). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.669358 [ 17248 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.669375 [ 16615 ] {ba73b2b3-38cf-4ba6-bd3b-9aa14e338864} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:58910). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000003e0ceae7 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d01 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:17.669829 [ 17871 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049d118ce in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d2ec3a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x0000000049d3741f in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x0000000049cdc376 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e10def9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10bd5d in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.670219 [ 16615 ] {ba73b2b3-38cf-4ba6-bd3b-9aa14e338864} TCPHandler: Client has gone away. 2024.12.17 03:20:17.670320 [ 16574 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.671032 [ 9399 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.671490 [ 9398 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.671882 [ 17751 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.672252 [ 16564 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.672681 [ 8849 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.673282 [ 1131 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.673768 [ 8594 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.674255 [ 8562 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:17.674679 [ 1837 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:171: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c9990e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:18.856372 [ 17371 ] {81a88b51-4c9d-40cd-83e6-21aa2d032e34} executeQuery: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing (NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier). (WRONG_GLOBAL_SUBQUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59010) (comment: 02002_global_subqueries_subquery_or_table_name.sql) (in query: SELECT cityHash64(number GLOBAL IN (NULL, -2147483648, -9223372036854775808), nan, 1024, NULL, NULL, 1.000100016593933, NULL), (NULL, cityHash64(inf, -2147483648, NULL, NULL, 10.000100135803223), cityHash64(1.1754943508222875e-38, NULL, NULL, NULL), 2147483647) FROM cluster(test_cluster_two_shards_localhost, numbers((NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier), 65536)) WHERE number GLOBAL IN [1025] --{serverError 36, 284} ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000a75fd57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000037d227dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::GlobalSubqueriesMatcher::visit(DB::ASTFunction&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000037d1ad46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:0: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000037d19c93 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252e4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000037c98e8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:187: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c9750c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:20:19.378862 [ 16613 ] {24eecd21-54d3-4349-bc5b-77617453ef63} executeQuery: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58978) (comment: 02004_invalid_partition_mutation_stuck.sql) (in query: ALTER TABLE rep_data MATERIALIZE INDEX idx IN PARTITION ID 'NO_SUCH_PART';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000003cf56816 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::StorageReplicatedMergeTree::allocateBlockNumbersInAffectedPartitions(DB::MutationCommands const&, std::shared_ptr, std::shared_ptr const&) const @ 0x000000003c131cc5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1124: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003c1aec82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:19.378842 [ 17371 ] {81a88b51-4c9d-40cd-83e6-21aa2d032e34} TCPHandler: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing (NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier). (WRONG_GLOBAL_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000a75fd57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000037d227dc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::GlobalSubqueriesMatcher::visit(DB::ASTFunction&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000037d1ad46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:0: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000037d19c93 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252e4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000037c98e8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:187: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c9750c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:20:19.380736 [ 16613 ] {24eecd21-54d3-4349-bc5b-77617453ef63} TCPHandler: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000003cf56816 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::StorageReplicatedMergeTree::allocateBlockNumbersInAffectedPartitions(DB::MutationCommands const&, std::shared_ptr, std::shared_ptr const&) const @ 0x000000003c131cc5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1124: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003c1aec82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:20.095089 [ 16613 ] {ad34cde1-f9ca-49a7-9a09-acae23c653ac} executeQuery: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58978) (comment: 02004_invalid_partition_mutation_stuck.sql) (in query: ALTER TABLE data MATERIALIZE INDEX idx IN PARTITION ID 'NO_SUCH_PART';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000003cf56816 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2d674 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:20.096776 [ 16613 ] {ad34cde1-f9ca-49a7-9a09-acae23c653ac} TCPHandler: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000003cf56816 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2d674 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:21.664962 [ 3431 ] {0325b6ce-d634-4bbd-a214-35455efb1c7a} executeQuery: Code: 60. DB::Exception: Table test_jr1qbmrh.async_inserts (bb746a89-9d27-465e-bdc5-f3a12a991bdf) does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02015_async_inserts_stress_long.sh) (in query: INSERT INTO test_jr1qbmrh.async_inserts FORMAT CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad0e47 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e4a7b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:21.666269 [ 3431 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_jr1qbmrh.async_inserts FORMAT CSV': Code: 60. DB::Exception: Table test_jr1qbmrh.async_inserts (bb746a89-9d27-465e-bdc5-f3a12a991bdf) does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad0e47 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377e4a7b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377ed85d in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:24.196689 [ 9402 ] {1346f60b-3fb7-42ef-82ce-e2366726725b} executeQuery: Code: 42. DB::Exception: Function snowflakeToDateTime takes one or two arguments: While processing snowflakeToDateTime(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44862) (comment: 01942_snowflakeToDateTime.sql) (in query: -- -- Error cases SELECT snowflakeToDateTime();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce85515 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:24.597638 [ 1386 ] {b08362ba-894c-4347-abda-3820bbdb68b1} executeQuery: Code: 36. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44876) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x0000000020884b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4624: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ab46f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:24.597674 [ 9402 ] {1346f60b-3fb7-42ef-82ce-e2366726725b} TCPHandler: Code: 42. DB::Exception: Function snowflakeToDateTime takes one or two arguments: While processing snowflakeToDateTime(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce85515 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:24.599163 [ 1386 ] {b08362ba-894c-4347-abda-3820bbdb68b1} TCPHandler: Code: 36. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x0000000020884b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4624: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ab46f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:25.214893 [ 9402 ] {36889150-526f-459b-a157-b9d9cc01b484} executeQuery: Code: 42. DB::Exception: Function snowflakeToDateTime64 takes one or two arguments: While processing snowflakeToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44862) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce875db in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:25.214928 [ 1386 ] {3b65f661-8422-4b62-8e18-3312554ba458} executeQuery: Code: 36. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44876) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x0000000020884b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4624: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ab46f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:25.216661 [ 9402 ] {36889150-526f-459b-a157-b9d9cc01b484} TCPHandler: Code: 42. DB::Exception: Function snowflakeToDateTime64 takes one or two arguments: While processing snowflakeToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce875db in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:25.216848 [ 1386 ] {3b65f661-8422-4b62-8e18-3312554ba458} TCPHandler: Code: 36. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x0000000020884b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4624: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ab46f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:25.784959 [ 9402 ] {7e6dfb6a-a45d-4adb-8b67-d9d7520b603a} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44862) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce853bb in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:26.373684 [ 9402 ] {7e6dfb6a-a45d-4adb-8b67-d9d7520b603a} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce853bb in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:26.373843 [ 2794 ] {f1f728af-a4f6-4f37-9903-229bcc1c7f33} executeQuery: Code: 6. DB::Exception: Cannot parse string '07-08-2019' as Date: syntax error at position 8 (parsed just '07-08-20'): While processing toDate('07-08-2019'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44920) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('07-08-2019');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:20:26.373894 [ 1386 ] {c61bf135-03a4-4013-aece-88dac3e30417} executeQuery: Code: 36. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44876) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT NULL AND (2147483648 AND NULL) AND -2147483647, toUUID(((1048576 AND NULL) AND (2147483647 AND 257 AND NULL AND -2147483649) AND NULL) IN (test_01103.t1_distr.id), '00000000-e1fe-11e\0-bb8f\0853d60c00749'), stringToH3('89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2808: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397c76cb in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003977d2c2 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000003977698e in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974dda1 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:26.375818 [ 2794 ] {f1f728af-a4f6-4f37-9903-229bcc1c7f33} TCPHandler: Code: 6. DB::Exception: Cannot parse string '07-08-2019' as Date: syntax error at position 8 (parsed just '07-08-20'): While processing toDate('07-08-2019'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009ccd6aa in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:20:26.376445 [ 1386 ] {c61bf135-03a4-4013-aece-88dac3e30417} TCPHandler: Code: 36. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2808: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397c76cb in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003977d2c2 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000003977698e in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974dda1 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039793ff5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:27.008594 [ 9402 ] {55d453ff-c81a-4d5d-bb66-a7c1c8be12cb} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44862) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce87481 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:27.609685 [ 9402 ] {55d453ff-c81a-4d5d-bb66-a7c1c8be12cb} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce87481 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:27.609804 [ 2794 ] {61c822a7-ae8d-4def-8b66-738e4ff75dd5} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('2019-0708'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44920) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('2019-0708');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x00000000209e835a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000209e79dd in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000009cceb99 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009cccd35 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 2024.12.17 03:20:27.611309 [ 2794 ] {61c822a7-ae8d-4def-8b66-738e4ff75dd5} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('2019-0708'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x00000000209e835a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000209e79dd in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000009cceb99 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009cccd35 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 2024.12.17 03:20:27.628166 [ 9402 ] {540015e9-c2a9-4695-a7f0-a0da68a2e051} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44862) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce853bb in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:27.628292 [ 2794 ] {598b3cc9-3955-4ed8-94c2-a9c4c525b8b5} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('201907-08'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44920) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('201907-08');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x00000000209e835a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000209e79dd in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000009cceb99 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009cccd35 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 2024.12.17 03:20:27.629680 [ 2794 ] {598b3cc9-3955-4ed8-94c2-a9c4c525b8b5} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('201907-08'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x00000000209e835a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000209e79dd in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000009cceb99 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009cccd35 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009c973d5 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c90662 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009c8eee2 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 2024.12.17 03:20:27.629689 [ 9402 ] {540015e9-c2a9-4695-a7f0-a0da68a2e051} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce853bb in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:27.646289 [ 9402 ] {4b507677-c0e0-43c4-a127-ac646d875f41} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44862) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce87481 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:27.647891 [ 9402 ] {4b507677-c0e0-43c4-a127-ac646d875f41} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ce87481 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:20:28.432933 [ 2794 ] {3eb3b65f-530d-448c-830c-94cfce0b9b50} executeQuery: Code: 53. DB::Exception: Cannot convert string 07-08-2019 to type Date: while executing 'FUNCTION greaterOrEquals(d : 0, '07-08-2019' : 1) -> greaterOrEquals(d, '07-08-2019') UInt8 : 2'. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44920) (comment: 01933_invalid_date.sql) (in query: SELECT * FROM test WHERE d >= '07-08-2019';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011f61173 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011f17e90 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce50af in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:20:28.434787 [ 2794 ] {3eb3b65f-530d-448c-830c-94cfce0b9b50} TCPHandler: Code: 53. DB::Exception: Cannot convert string 07-08-2019 to type Date: while executing 'FUNCTION greaterOrEquals(d : 0, '07-08-2019' : 1) -> greaterOrEquals(d, '07-08-2019') UInt8 : 2'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011f61173 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011f17e90 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce50af in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:20:29.982733 [ 7430 ] {7a928ee9-4211-40e4-b7e0-2d196e840f37} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45046) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf2caca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8a3a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:29.984217 [ 7430 ] {7a928ee9-4211-40e4-b7e0-2d196e840f37} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf2caca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8a3a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:29.995156 [ 7430 ] {961187a8-e29a-4890-98a8-7dc0e6411cb8} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45046) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf2caca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8a3a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:29.996562 [ 7430 ] {961187a8-e29a-4890-98a8-7dc0e6411cb8} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e10e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf2caca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8a3a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:30.553821 [ 7430 ] {cbdb3cae-01b1-41f7-bea7-9bb78647af36} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. Partition should consist of 6 digits: YYYYMM. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45046) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE old_partition_key DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e250 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf2caca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8a3a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:30.556225 [ 7430 ] {cbdb3cae-01b1-41f7-bea7-9bb78647af36} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. Partition should consist of 6 digits: YYYYMM. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:0: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000003d40e250 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cedfb03 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf2caca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8a3a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:32.953714 [ 9401 ] {47623bcb-48ad-472b-b3f1-c02d8e835de2} executeQuery: Code: 174. DB::Exception: Self referencing of `x` to `x`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45244) (comment: 01902_self_aliases_in_columns.sql) (in query: CREATE TABLE a (`number` UInt64, `x` MATERIALIZED x) ENGINE = MergeTree ORDER BY number SETTINGS index_granularity = 35495, min_bytes_for_wide_part = 645990834, ratio_of_defaults_for_sparse_serialization = 0.10429725050926208, merge_max_block_size = 11613, prefer_fetch_merged_part_size_threshold = 879709781, vertical_merge_algorithm_min_rows_to_activate = 971125, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7769905290, index_granularity_bytes = 6508915, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 38548, primary_key_compress_block_size = 28932), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:90: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a824b96 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000003a82ec2d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827e03 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000003a70748d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context_fwd.h:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70c84f in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b96f7c5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ac4b2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:33.364634 [ 9401 ] {47623bcb-48ad-472b-b3f1-c02d8e835de2} TCPHandler: Code: 174. DB::Exception: Self referencing of `x` to `x`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:90: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a824b96 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000003a82ec2d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827e03 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000003a70748d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context_fwd.h:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70c84f in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b96f7c5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ac4b2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:33.364717 [ 9407 ] {47bcb477-0b6f-45d6-9f86-a59003cea782} executeQuery: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing time = (time AS talias). (AMBIGUOUS_COLUMN_NAME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45082) (comment: 01925_join_materialized_columns.sql) (in query: SELECT time as talias FROM t1 JOIN t2 ON t1.time = talias;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x000000003a81d1d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000003a81df82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000003a730512 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6fecf2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:33.366594 [ 9407 ] {47bcb477-0b6f-45d6-9f86-a59003cea782} TCPHandler: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing time = (time AS talias). (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x000000003a81d1d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000003a81df82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000003a730512 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6fecf2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:33.856444 [ 9401 ] {949242df-b32d-4a50-bbf9-0ff8717435c6} executeQuery: Code: 174. DB::Exception: Self referencing of `j` to `j`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45244) (comment: 01902_self_aliases_in_columns.sql) (in query: CREATE TABLE foo (`i` Int32, `j` ALIAS j + 1) ENGINE = MergeTree ORDER BY i SETTINGS index_granularity = 35495, min_bytes_for_wide_part = 645990834, ratio_of_defaults_for_sparse_serialization = 0.10429725050926208, merge_max_block_size = 11613, prefer_fetch_merged_part_size_threshold = 879709781, vertical_merge_algorithm_min_rows_to_activate = 971125, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7769905290, index_granularity_bytes = 6508915, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 38548, primary_key_compress_block_size = 28932), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:90: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a824b96 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000003a82f402 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827e03 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000003a82ec2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827e03 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000003a70748d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context_fwd.h:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70c84f in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b96f7c5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ac4b2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:34.274916 [ 9401 ] {949242df-b32d-4a50-bbf9-0ff8717435c6} TCPHandler: Code: 174. DB::Exception: Self referencing of `j` to `j`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:90: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a824b96 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000003a82f402 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827e03 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000003a82ec2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000003a827e03 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000003a70748d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context_fwd.h:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70c84f in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b96f7c5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ac4b2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:34.274975 [ 9407 ] {09d49215-62c9-48c9-9f27-10bf27c71c49} executeQuery: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing (time AS talias) = t2.time. (AMBIGUOUS_COLUMN_NAME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45082) (comment: 01925_join_materialized_columns.sql) (in query: SELECT time as talias FROM t1 JOIN t2 ON talias = t2.time;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x000000003a81d1d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000003a81df6c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000003a730512 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6fecf2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:34.297069 [ 9407 ] {09d49215-62c9-48c9-9f27-10bf27c71c49} TCPHandler: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing (time AS talias) = t2.time. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x000000003a81d1d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000003a81df6c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000003a730512 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6fecf2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:20:39.896623 [ 925 ] {1eb3bdd5-2b99-4c5f-96e2-6fa6e41bd4ba::all_1_1_0_101} MutatePlainMergeTreeTask: Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:20:40.068161 [ 925 ] {1eb3bdd5-2b99-4c5f-96e2-6fa6e41bd4ba::all_1_1_0_101} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:48: DB::MutateTask::execute() @ 0x000000003d69e9d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dad4edd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:21:01.661267 [ 8562 ] {d9b158c1-b894-4d4a-bf9a-fd51205c39a9} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$..1key'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$..1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:01.662977 [ 8562 ] {d9b158c1-b894-4d4a-bf9a-fd51205c39a9} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$..1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:01.680943 [ 8562 ] {5a21dc87-ce2c-418f-8488-bc803d886756} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$1key'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:01.682511 [ 8562 ] {5a21dc87-ce2c-418f-8488-bc803d886756} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:01.701699 [ 8562 ] {602f1d90-4910-4055-870f-ca140e765cd4} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$key'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:01.703519 [ 8562 ] {602f1d90-4910-4055-870f-ca140e765cd4} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:02.282714 [ 1837 ] {d0e4edb6-3d00-4d13-850e-83e1d2c18d98} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33422) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b06d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x0000000036dc0db9 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x00000000374435df in /usr/bin/clickhouse 7. ./build_docker/./src/Common/FieldVisitors.h:24: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d6482c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4675e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46a17 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1737: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000037cdf130 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003cd1d333 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000003d60a9a1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3b427 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:21:02.282865 [ 8562 ] {65836cad-c8a5-4c12-8430-2367ed2641a4} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$.[key]');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:02.284582 [ 1837 ] {d0e4edb6-3d00-4d13-850e-83e1d2c18d98} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b06d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x0000000036dc0db9 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x00000000374435df in /usr/bin/clickhouse 7. ./build_docker/./src/Common/FieldVisitors.h:24: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d6482c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4675e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46a17 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1737: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000037cdf130 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003cd1d333 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000003d60a9a1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3b427 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:21:02.284822 [ 8562 ] {65836cad-c8a5-4c12-8430-2367ed2641a4} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a7806db in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a77e64b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.276292 [ 1837 ] {da5e1e6a-a762-491c-8b06-78d316a1afd8} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33422) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- can't use bloom_filter with `hasAny` on non-constant arguments (just like `has`) SELECT count() FROM bftest WHERE hasAny(x, materialize([1,2,3])) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:03.816532 [ 1837 ] {da5e1e6a-a762-491c-8b06-78d316a1afd8} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:03.816628 [ 8562 ] {3eba40a6-7da8-4e21-a0f4-5f8d92a12f3f} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$..1key'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$..1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.818092 [ 8562 ] {3eba40a6-7da8-4e21-a0f4-5f8d92a12f3f} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$..1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.836492 [ 8562 ] {b135d761-cb14-4f28-89b0-0023b32f8212} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$1key'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.838217 [ 8562 ] {b135d761-cb14-4f28-89b0-0023b32f8212} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.857534 [ 8562 ] {4c78831b-c43d-4ef8-b991-10d53d0b5ccc} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$key'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.859187 [ 8562 ] {4c78831b-c43d-4ef8-b991-10d53d0b5ccc} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.869981 [ 1837 ] {de43b7da-3cb3-4e6f-b3f7-8e228b4b6261} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33422) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- NULLs are not Ok SELECT count() FROM bftest WHERE hasAny(x, [NULL,-42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:03.871547 [ 1837 ] {de43b7da-3cb3-4e6f-b3f7-8e228b4b6261} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:03.878792 [ 8562 ] {f0be48e0-18ad-4bcb-8e93-88f6f3802d23} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33380) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$.[key]');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.880213 [ 8562 ] {f0be48e0-18ad-4bcb-8e93-88f6f3802d23} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000a76d1fb in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a76b02b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:21:03.921015 [ 1837 ] {6217618b-e843-432e-80d8-1ff40b35f783} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33422) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(x, [0,NULL]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:03.922541 [ 1837 ] {6217618b-e843-432e-80d8-1ff40b35f783} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:03.943917 [ 1837 ] {e048d83c-3353-404a-a41b-5c1c9224e2c1} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33422) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- non-compatible types SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b06d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x0000000036dc0db9 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x00000000374435df in /usr/bin/clickhouse 7. ./build_docker/./src/Common/FieldVisitors.h:24: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d6482c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4675e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46a17 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1737: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000037cdf130 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003cd1d333 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000003d60a9a1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3b427 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:21:03.945412 [ 1837 ] {e048d83c-3353-404a-a41b-5c1c9224e2c1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b06d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x0000000036dc0db9 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x00000000374435df in /usr/bin/clickhouse 7. ./build_docker/./src/Common/FieldVisitors.h:24: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d6482c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4675e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46a17 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1737: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000037cdf130 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003cd1d333 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000003d60a9a1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3b427 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:21:04.004630 [ 1837 ] {7c201832-9a78-45cb-8924-578de94d9d62} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33422) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(x, [toDecimal32(123, 3), 2]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:04.006276 [ 1837 ] {7c201832-9a78-45cb-8924-578de94d9d62} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:07.074360 [ 2793 ] {558d040c-770d-44ae-b122-313146e49dac} executeQuery: Code: 47. DB::Exception: JOIN test_bkkw31jm.v1 AS t1 ALL INNER JOIN test_bkkw31jm.v1 AS t2 USING (id) ALL INNER JOIN test_bkkw31jm.v1 AS t3 USING (value) using identifier 'value' cannot be resolved from left table expression. In scope SELECT * FROM v1 AS t1 INNER JOIN v1 AS t2 USING (id) INNER JOIN v1 AS t3 USING (value). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48842) (comment: 01852_multiple_joins_with_union_join.sql) (in query: SELECT * FROM v1 AS t1 JOIN v1 AS t2 USING (id) JOIN v1 AS t3 USING (value);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x0000000039847b7e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397e968a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x0000000039762abc in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:07.077118 [ 2793 ] {558d040c-770d-44ae-b122-313146e49dac} TCPHandler: Code: 47. DB::Exception: JOIN test_bkkw31jm.v1 AS t1 ALL INNER JOIN test_bkkw31jm.v1 AS t2 USING (id) ALL INNER JOIN test_bkkw31jm.v1 AS t3 USING (value) using identifier 'value' cannot be resolved from left table expression. In scope SELECT * FROM v1 AS t1 INNER JOIN v1 AS t2 USING (id) INNER JOIN v1 AS t3 USING (value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x0000000039847b7e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397e968a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x0000000039762abc in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:09.623767 [ 17371 ] {27c13b05-c9ae-4c0c-97fd-45740226c850} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern '\': While processing '\\' LIKE '\\'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48926) (comment: 01847_bad_like.sql) (in query: SELECT '\\' LIKE '\\';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x0000000015175e37 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000002097f150 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000001714bb13 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171492ee in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171413af in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001713e471 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:21:09.625439 [ 17371 ] {27c13b05-c9ae-4c0c-97fd-45740226c850} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern '\': While processing '\\' LIKE '\\'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x0000000015175e37 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000002097f150 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000001714bb13 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171492ee in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171413af in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001713e471 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:21:10.520245 [ 2794 ] {a0eb7b7c-57c5-4dec-a16b-e5dbf774b695} executeQuery: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'key_0.key_11' and 'key_0.key_5'. Paths have prefixes matched by names, but different in structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49012) (comment: 01825_type_json_14.sql) (in query: INSERT INTO t_json_14 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x0000000036e04dc7 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:358: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0818b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:452: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000036e00567 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::MemorySink::consume(DB::Chunk) @ 0x000000003be18055 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:10.522310 [ 2794 ] {a0eb7b7c-57c5-4dec-a16b-e5dbf774b695} TCPHandler: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'key_0.key_11' and 'key_0.key_5'. Paths have prefixes matched by names, but different in structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x0000000036e04dc7 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:358: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0818b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:452: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000036e00567 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::MemorySink::consume(DB::Chunk) @ 0x000000003be18055 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:13.022797 [ 9424 ] {ad533843-60b6-4f14-9bb5-63f4262d744b} executeQuery: Code: 6. DB::Exception: Cannot parse string '1\'4' as UInt32: syntax error at position 1 (parsed just '1'). Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing CAST('1\'4', 'UInt32'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49146) (comment: 01852_cast_operator_bad_cases.sh) (in query: SELECT '1''4'::UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 2024.12.17 03:21:13.035397 [ 9424 ] {ad533843-60b6-4f14-9bb5-63f4262d744b} TCPHandler: Code: 6. DB::Exception: Cannot parse string '1\'4' as UInt32: syntax error at position 1 (parsed just '1'). Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing CAST('1\'4', 'UInt32'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 2024.12.17 03:21:15.925269 [ 7071 ] {7c461d32-2747-4bc1-aa8a-3fae9aa4ce9b} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44950) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:15.927101 [ 7071 ] {7c461d32-2747-4bc1-aa8a-3fae9aa4ce9b} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:16.763358 [ 1129 ] {057cb785-e677-4dd8-a04d-7ebef6d6b53e} executeQuery: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44922) (comment: 01825_type_json_insert_select.sql) (in query: INSERT INTO type_json_dst SELECT * FROM type_json_src WHERE id = 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x0000000036e04f70 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:358: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0818b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:452: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000036e00567 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003dac43fa in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:16.768836 [ 1129 ] {057cb785-e677-4dd8-a04d-7ebef6d6b53e} TCPHandler: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x0000000036e04f70 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:358: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000036e0818b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:452: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000036e00567 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003dac43fa in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:22.083196 [ 17871 ] {cd167f84-cbb6-40bd-b0ea-5525f5736904} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeInOrder. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45510) (comment: 01801_approx_total_rows_mergetree_reverse.sql) (in query: select * from data_01801 where key = 0 order by key settings max_rows_to_read=9 format Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:22.086943 [ 17871 ] {cd167f84-cbb6-40bd-b0ea-5525f5736904} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeInOrder. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:22.149297 [ 17871 ] {dc1a142e-50bc-4bc2-8d03-b4d8d0e39e98} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeReverse. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45510) (comment: 01801_approx_total_rows_mergetree_reverse.sql) (in query: select * from data_01801 where key = 0 order by key desc settings max_rows_to_read=9 format Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:22.152744 [ 17871 ] {dc1a142e-50bc-4bc2-8d03-b4d8d0e39e98} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeReverse. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:26.662165 [ 17371 ] {9f6df383-9945-4196-954c-650f634a82b5} executeQuery: Code: 128. DB::Exception: Function mapPopulateSeries too large array size in the result: While processing mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]). (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44796) (comment: 01777_map_populate_series_ubsan.sql) (in query: -- Should correctly throw exception about overflow: SELECT mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. void DB::FunctionMapPopulateSeries::executeImplTyped(COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::mutable_ptr, COW::mutable_ptr, COW::mutable_ptr) const @ 0x000000002056819a in /usr/bin/clickhouse 4. auto DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::DataTypeNumber>>(auto const&) const @ 0x00000000205667d5 in /usr/bin/clickhouse 5. DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000020013e1d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:21:26.664234 [ 17371 ] {9f6df383-9945-4196-954c-650f634a82b5} TCPHandler: Code: 128. DB::Exception: Function mapPopulateSeries too large array size in the result: While processing mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. void DB::FunctionMapPopulateSeries::executeImplTyped(COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::mutable_ptr, COW::mutable_ptr, COW::mutable_ptr) const @ 0x000000002056819a in /usr/bin/clickhouse 4. auto DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::DataTypeNumber>>(auto const&) const @ 0x00000000205667d5 in /usr/bin/clickhouse 5. DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000020013e1d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:21:29.165889 [ 8779 ] {15bc4706-b113-4d60-86d2-056de0ea1356} executeQuery: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45012) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT avg(number) AS number, max(number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037d17f28 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a7092be in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff276 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:29.167500 [ 8779 ] {15bc4706-b113-4d60-86d2-056de0ea1356} TCPHandler: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037d17f28 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a7092be in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff276 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:29.203549 [ 17371 ] {5e3e9d74-9afd-4811-a89c-0c90dd71730e} StorageDistributed (tt6): Name of remote database is empty. Default database will be used implicitly. 2024.12.17 03:21:29.216630 [ 8779 ] {d93ad42a-09cd-44ce-9ad8-c844fa5a2390} executeQuery: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45012) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT sum(x) AS x, max(x) FROM (SELECT 1 AS x UNION ALL SELECT 2 AS x) t;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037d17f28 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a7092be in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff276 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:29.218651 [ 8779 ] {d93ad42a-09cd-44ce-9ad8-c844fa5a2390} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037d17f28 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a7092be in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff276 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:29.240173 [ 17371 ] {8e0dfba6-0b93-4cee-8a70-cb4a93c6e82f} StorageDistributed (tt7): Name of remote database is empty. Default database will be used implicitly. 2024.12.17 03:21:29.259221 [ 8779 ] {84e62679-fd51-4541-a1fb-e7e049150908} executeQuery: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45012) (comment: 01764_prefer_column_name_to_alias.sql) (in query: select sum(C1) as C1, count(C1) as C2 from (select number as C1 from numbers(3)) as ITBL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037d17f28 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a7092be in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff276 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:29.261214 [ 8779 ] {84e62679-fd51-4541-a1fb-e7e049150908} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037d17f28 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a7092be in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff276 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:29.918532 [ 17371 ] {76a72267-823c-41d1-bddf-26f8f941680f} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45046) (comment: 01763_max_distributed_depth.sql) (in query: INSERT INTO tt6 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:134: DB::DistributedSink::DistributedSink(std::shared_ptr, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr const&, bool, unsigned long, DB::StorageID, std::vector> const&) @ 0x000000003cb11317 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DistributedSink* std::construct_at[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, DB::DistributedSink*>(DB::DistributedSink*, std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x000000003bbc100a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, void>(std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x000000003bbb8730 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:846: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003bb78fcd in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb243d2 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 2024.12.17 03:21:29.921569 [ 17371 ] {76a72267-823c-41d1-bddf-26f8f941680f} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:134: DB::DistributedSink::DistributedSink(std::shared_ptr, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr const&, bool, unsigned long, DB::StorageID, std::vector> const&) @ 0x000000003cb11317 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DistributedSink* std::construct_at[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, DB::DistributedSink*>(DB::DistributedSink*, std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x000000003bbc100a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, void>(std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x000000003bbb8730 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:846: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003bb78fcd in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb243d2 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 2024.12.17 03:21:30.616659 [ 17371 ] {40c6c575-6c06-4fd0-af3b-4f175fc68805} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45046) (comment: 01763_max_distributed_depth.sql) (in query: SELECT * FROM tt6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbda3ea in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 2024.12.17 03:21:30.618376 [ 17371 ] {40c6c575-6c06-4fd0-af3b-4f175fc68805} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbda3ea in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 2024.12.17 03:21:31.774490 [ 17504 ] {9c8f1bfc-b94f-4a7c-b932-de035abd4631} executeQuery: Code: 43. DB::Exception: Illegal type DateTime64(3) of argument for aggregate function deltaSumTimestamp, must be Int, Float, Date, DateTime. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45178) (comment: 01762_deltasumtimestamp_datetime64.sh) (in query: SELECT deltaSumTimestamp(1, now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp:37: DB::(anonymous namespace)::createAggregateFunctionDeltaSumTimestamp(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021d6da86 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:31.778937 [ 17504 ] {9c8f1bfc-b94f-4a7c-b932-de035abd4631} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime64(3) of argument for aggregate function deltaSumTimestamp, must be Int, Float, Date, DateTime. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp:37: DB::(anonymous namespace)::createAggregateFunctionDeltaSumTimestamp(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021d6da86 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.437527 [ 7071 ] {a28a9622-6f0f-4b99-8543-a793afb8d244} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45182) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- in negative select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.447754 [ 7071 ] {a28a9622-6f0f-4b99-8543-a793afb8d244} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.477082 [ 7071 ] {efef6d77-f723-4a1d-a892-fd592f179059} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45182) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- or negative select * from dist_01757 where dummy = 0 or dummy = 1 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.478920 [ 7071 ] {efef6d77-f723-4a1d-a892-fd592f179059} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.618133 [ 7071 ] {5e84cde1-b4ac-45c4-aebc-97aadaab1b47} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45182) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- and negative select * from dist_01757 where dummy = 0 and dummy = 1 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.619903 [ 7071 ] {5e84cde1-b4ac-45c4-aebc-97aadaab1b47} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.645191 [ 7071 ] {b236d014-0b25-46a3-9d2d-07da185628f0} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45182) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy = 0 and dummy = 2 and dummy = 3 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.647027 [ 7071 ] {b236d014-0b25-46a3-9d2d-07da185628f0} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.672456 [ 7071 ] {c8315686-be22-41cb-84e0-b8b3e640ce74} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45182) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy = 0 and dummy = 2 and dummy = 3 settings optimize_skip_unused_shards_limit=2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:32.674220 [ 7071 ] {c8315686-be22-41cb-84e0-b8b3e640ce74} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:33.256070 [ 7071 ] {e9aafef5-2e07-4974-b1fc-4c46c111fcc1} executeQuery: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45182) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- ARGUMENT_OUT_OF_BOUND error select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000003bba1727 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:1316: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb680ae in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:33.259335 [ 7071 ] {e9aafef5-2e07-4974-b1fc-4c46c111fcc1} TCPHandler: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000003bba1727 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:1316: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb680ae in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:33.288188 [ 7071 ] {61975da6-d55e-4ddb-8dd0-07c9fab09366} executeQuery: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45182) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=9223372036854775808;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000003bba1727 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:1316: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb680ae in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:33.290255 [ 7071 ] {61975da6-d55e-4ddb-8dd0-07c9fab09366} TCPHandler: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000003bbb9978 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000003bba1727 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:1316: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb680ae in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:35.767689 [ 17371 ] {10ee0591-1ea4-422b-b8df-4e5f9be1adb1} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fdd5b2cc000, frame address: 0x7fdd5b6cbf80, stack size: 4194432, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45046) (comment: 01763_max_distributed_depth.sql) (in query: -- stack overflow INSERT INTO tt6 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000020968a94 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000209684af in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/Chain.h:17: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb32b9 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb243d2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb243d2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 2024.12.17 03:21:35.770136 [ 17371 ] {10ee0591-1ea4-422b-b8df-4e5f9be1adb1} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fdd5b2cc000, frame address: 0x7fdd5b6cbf80, stack size: 4194432, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000020968a94 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000209684af in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/Chain.h:17: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb32b9 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb24339 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb243d2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000003cb243d2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000003cb15e5c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000003cb11d48 in /usr/bin/clickhouse 2024.12.17 03:21:37.740632 [ 17371 ] {1f8c696f-605f-4d56-a857-ae40074f0b94} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fdd5b2cc000, frame address: 0x7fdd5b6cbe00, stack size: 4194816, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45046) (comment: 01763_max_distributed_depth.sql) (in query: -- stack overflow SELECT * FROM tt6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000020968a94 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000209684af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037aced67 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/getTableExpressions.cpp:0: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9ed71c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b1e66b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1dec7 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageDistributed.cpp:748: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb6fb5a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 2024.12.17 03:21:38.352941 [ 9401 ] {1715c255-f3ad-451c-b4e1-94733a092144} executeQuery: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: While processing toDateTime64(9300000000., 9, 'UTC'). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40506) (comment: 01734_datetime64_from_float.sql) (in query: SELECT toDateTime64(9300000000.0, 9, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0x0000000009485732 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformFloat, double>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformFloat, double> const&) @ 0x00000000094848d9 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000abb3a7f in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000abad648 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abac9ef in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abab342 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:38.352976 [ 17371 ] {1f8c696f-605f-4d56-a857-ae40074f0b94} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fdd5b2cc000, frame address: 0x7fdd5b6cbe00, stack size: 4194816, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000020968a94 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000209684af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037aced67 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/getTableExpressions.cpp:0: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9ed71c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b1e66b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1dec7 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageDistributed.cpp:748: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb6fb5a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 2024.12.17 03:21:38.356424 [ 9401 ] {1715c255-f3ad-451c-b4e1-94733a092144} TCPHandler: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: While processing toDateTime64(9300000000., 9, 'UTC'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0x0000000009485732 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformFloat, double>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformFloat, double> const&) @ 0x00000000094848d9 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000abb3a7f in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000abad648 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abac9ef in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abab342 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:38.986249 [ 9401 ] {2fdba326-2dc3-4e6b-8ce0-859bd5a2c8e9} executeQuery: Code: 407. DB::Exception: Decimal math overflow: While processing toDateTime64(9300000000, 9, 'UTC'). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40506) (comment: 01734_datetime64_from_float.sql) (in query: SELECT toDateTime64(9300000000, 9, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [22]) @ 0x0000000009479fb7 in /usr/bin/clickhouse 3. void DB::Transformer, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToDateTime64TransformUnsigned const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000009479d2b in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformUnsigned const&) @ 0x00000000094795ed in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000abaf0ed in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000abad3b0 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abac9ef in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abab342 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:38.988221 [ 9401 ] {2fdba326-2dc3-4e6b-8ce0-859bd5a2c8e9} TCPHandler: Code: 407. DB::Exception: Decimal math overflow: While processing toDateTime64(9300000000, 9, 'UTC'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [22]) @ 0x0000000009479fb7 in /usr/bin/clickhouse 3. void DB::Transformer, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToDateTime64TransformUnsigned const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000009479d2b in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformUnsigned const&) @ 0x00000000094795ed in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000abaf0ed in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000abad3b0 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abac9ef in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000abab342 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:39.804664 [ 9407 ] {7663a019-5a5b-4dd2-89ea-3e8664c217f5} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_rk75levi.constraint_on_nullable_type (5304d8c7-0e98-41a5-8cd5-47d3fa130c2d) is violated at row 1. Expression: (id = 1). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40662) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_nullable_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:40.315816 [ 9407 ] {7663a019-5a5b-4dd2-89ea-3e8664c217f5} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_rk75levi.constraint_on_nullable_type (5304d8c7-0e98-41a5-8cd5-47d3fa130c2d) is violated at row 1. Expression: (id = 1). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:40.315966 [ 16645 ] {e02f8caf-257e-444a-991e-82ff6d636243} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40608) (comment: 01720_type_map_and_casts.sql) (in query: SELECT m[257], m[1] FROM table_map_with_key_integer;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001f535b71 in /usr/bin/clickhouse 4. DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001f537595 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:40.318561 [ 16645 ] {e02f8caf-257e-444a-991e-82ff6d636243} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001f535b71 in /usr/bin/clickhouse 4. DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001f537595 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:40.488413 [ 9407 ] {2a110777-c510-4f42-8545-66a56bb4b56c} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_rk75levi.constraint_on_low_cardinality_type (b8704dec-ca8e-49d0-8c96-c3c32af6cfb4) is violated at row 1. Expression: (id = 2). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40662) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_low_cardinality_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:40.489983 [ 9407 ] {2a110777-c510-4f42-8545-66a56bb4b56c} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_rk75levi.constraint_on_low_cardinality_type (b8704dec-ca8e-49d0-8c96-c3c32af6cfb4) is violated at row 1. Expression: (id = 2). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:40.676196 [ 9407 ] {74ee6ea3-8f43-4044-8bc3-1d76ddeb0875} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_rk75levi.constraint_on_low_cardinality_nullable_type (81ee067e-bd08-4ba3-860e-904937bea4d8) is violated at row 1. Expression: (id = 3). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40662) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_low_cardinality_nullable_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:40.678420 [ 9407 ] {74ee6ea3-8f43-4044-8bc3-1d76ddeb0875} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_rk75levi.constraint_on_low_cardinality_nullable_type (81ee067e-bd08-4ba3-860e-904937bea4d8) is violated at row 1. Expression: (id = 3). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:41.245997 [ 1131 ] {fe6b4e7d-6aa2-4661-b70d-4f2c0ff57b6e} executeQuery: Code: 60. DB::Exception: Table test_5g9a7hb9.tabB does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40802) (comment: 01717_global_with_subquery_fix.sql) (in query: WITH (SELECT count(distinct colU) from tabA) AS withA, (SELECT count(distinct colU) from tabA) AS withB SELECT withA / withB AS ratio FROM (SELECT date AS period, colX FROM (SELECT date, if(colA IN (SELECT colB FROM tabC), 0, colA) AS colX FROM tabB) AS tempB GROUP BY period, colX) AS main;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:21:41.676718 [ 16645 ] {2aa30fc6-9bc0-4b64-a091-d3377e785762} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40608) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Float32, String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 60273, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11827, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 416986, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 5676571735, index_granularity_bytes = 10894563, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 9627, primary_key_compress_block_size = 8619), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000036d4fdae in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x00000000171bbbc5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(std::shared_ptr const&) @ 0x0000000036d54f44 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:41.676677 [ 1131 ] {fe6b4e7d-6aa2-4661-b70d-4f2c0ff57b6e} TCPHandler: Code: 60. DB::Exception: Table test_5g9a7hb9.tabB does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:21:42.285489 [ 16645 ] {2aa30fc6-9bc0-4b64-a091-d3377e785762} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000036d4fdae in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x00000000171bbbc5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(std::shared_ptr const&) @ 0x0000000036d54f44 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:42.285709 [ 16737 ] {7c205582-c997-4cb9-a7c8-d722a397206c} executeQuery: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 0.9998999834060669). (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40844) (comment: 01717_int_div_float_too_large_ubsan.sql) (in query: SELECT intDiv(9223372036854775807, 0.9998999834060669);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x00000000142ecc3c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147e7100 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000147c347e in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bff2d in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:42.287676 [ 16737 ] {7c205582-c997-4cb9-a7c8-d722a397206c} TCPHandler: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 0.9998999834060669). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x00000000142ecc3c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147e7100 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000147c347e in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bff2d in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:42.308103 [ 16645 ] {45ad4052-f124-4d2a-9cf6-3a413171846d} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40608) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Nullable(String), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 60273, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11827, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 416986, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 5676571735, index_granularity_bytes = 10894563, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 9627, primary_key_compress_block_size = 8619), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000036d4fdae in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x00000000171bbbc5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(std::shared_ptr const&) @ 0x0000000036d54f44 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:42.308429 [ 16737 ] {d8800ee7-8b70-4169-a181-15f0e9320035} executeQuery: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 1.). (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40844) (comment: 01717_int_div_float_too_large_ubsan.sql) (in query: SELECT intDiv(9223372036854775807, 1.);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x00000000142ecc3c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147e7100 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000147c347e in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bff2d in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:42.310159 [ 16737 ] {d8800ee7-8b70-4169-a181-15f0e9320035} TCPHandler: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 1.). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x00000000142ecc3c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147e7100 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000147c347e in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bff2d in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:21:42.310308 [ 16645 ] {45ad4052-f124-4d2a-9cf6-3a413171846d} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000036d4fdae in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x00000000171bbbc5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(std::shared_ptr const&) @ 0x0000000036d54f44 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:42.333203 [ 16645 ] {641988d4-fb1e-443b-9e91-0954142e4619} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40608) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Array(UInt32), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 60273, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11827, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 416986, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 5676571735, index_granularity_bytes = 10894563, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 9627, primary_key_compress_block_size = 8619), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000036d4fdae in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x00000000171bbbc5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(std::shared_ptr const&) @ 0x0000000036d54f44 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:42.335180 [ 16645 ] {641988d4-fb1e-443b-9e91-0954142e4619} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000036d4f790 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000036d4fdae in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x00000000171bbbc5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(std::shared_ptr const&) @ 0x0000000036d54f44 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:42.781289 [ 1837 ] {71332069-bdd2-4c78-be2a-65effe8327dc} executeQuery: Code: 36. DB::Exception: Table TTL is not allowed for MergeTree in old syntax. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40928) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table ( date Date, value UInt64 ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) TTL date + INTERVAL 2 MONTH;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x0000000010f79057 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0a64c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:42.783223 [ 1837 ] {71332069-bdd2-4c78-be2a-65effe8327dc} TCPHandler: Code: 36. DB::Exception: Table TTL is not allowed for MergeTree in old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x0000000010f79057 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0a64c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:43.163901 [ 1837 ] {8ce124ee-f156-4955-85bc-9ffbe2bef7cd} executeQuery: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40928) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table (`date` Date, `value` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) PARTITION BY date SETTINGS index_granularity = 40542, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 20193, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 654919, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 5592246, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 77130, primary_key_compress_block_size = 92089), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000003da114da in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0b0a2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:43.166680 [ 1837 ] {8ce124ee-f156-4955-85bc-9ffbe2bef7cd} TCPHandler: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000003da114da in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0b0a2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:43.188381 [ 1837 ] {69236195-c8cc-4638-ba55-3464302a77a2} executeQuery: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40928) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table (`date` Date, `value` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) ORDER BY value SETTINGS index_granularity = 40542, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 20193, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 654919, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 5592246, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 77130, primary_key_compress_block_size = 92089), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000003da114da in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0b0a2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:43.190548 [ 1837 ] {69236195-c8cc-4638-ba55-3464302a77a2} TCPHandler: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000003da114da in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0b0a2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:45.821169 [ 929 ] {d1350301-d5ac-47ce-a2cc-615591c6dbb8::202412_1_1_0_3} MutatePlainMergeTreeTask: Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:21:46.002548 [ 929 ] {d1350301-d5ac-47ce-a2cc-615591c6dbb8::202412_1_1_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x000000000a7605d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:48: DB::MutateTask::prepare() @ 0x000000003d6c4dc3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1744: DB::MutateTask::execute() @ 0x000000003d69e7e2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dad4edd in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:21:46.296948 [ 1129 ] {f8cd70f2-d514-45d0-b6a2-6b78d4d1378d} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45250) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- optimize_skip_unused_shards does not support non-constants select * from dist_01756 where dummy in (select * from system.one);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:46.298804 [ 1129 ] {f8cd70f2-d514-45d0-b6a2-6b78d4d1378d} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:46.323710 [ 1129 ] {1936e525-b87c-4733-8b35-5dcd10ac7136} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45250) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756 where dummy in (toUInt8(0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:46.325720 [ 1129 ] {1936e525-b87c-4733-8b35-5dcd10ac7136} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:46.351330 [ 1129 ] {bd8a4421-079e-4fe8-8bf1-2126bb8c713b} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45250) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- NOT IN does not supported select * from dist_01756 where dummy not in (0, 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:46.353367 [ 1129 ] {bd8a4421-079e-4fe8-8bf1-2126bb8c713b} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:47.501271 [ 1129 ] {eaa20fe4-8437-4475-a845-35aef7eb02a9} executeQuery: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45250) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756_str where key in ('0', Null);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:47.504026 [ 1129 ] {eaa20fe4-8437-4475-a845-35aef7eb02a9} TCPHandler: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:48.231548 [ 1129 ] {7aefd2eb-32ba-43d0-a322-14e1e8dee40b} executeQuery: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45250) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756_column where dummy in (0, '255foo');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Field.h:452: DB::(anonymous namespace)::analyzeEquals(DB::ASTIdentifier const*, DB::Field const&, std::shared_ptr const&) @ 0x000000003a93a109 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::analyzeFunction(DB::ASTFunction const*, std::shared_ptr const&, unsigned long&) @ 0x000000003a9373b1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::evaluateExpressionOverConstantCondition(std::shared_ptr const&, std::shared_ptr const&, unsigned long&) @ 0x000000003a931e27 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageDistributed.cpp:1406: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000003bb9c6d9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageDistributed.cpp:1316: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb680ae in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:48.233419 [ 1129 ] {7aefd2eb-32ba-43d0-a322-14e1e8dee40b} TCPHandler: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Field.h:452: DB::(anonymous namespace)::analyzeEquals(DB::ASTIdentifier const*, DB::Field const&, std::shared_ptr const&) @ 0x000000003a93a109 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::analyzeFunction(DB::ASTFunction const*, std::shared_ptr const&, unsigned long&) @ 0x000000003a9373b1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::evaluateExpressionOverConstantCondition(std::shared_ptr const&, std::shared_ptr const&, unsigned long&) @ 0x000000003a931e27 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageDistributed.cpp:1406: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000003bb9c6d9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageDistributed.cpp:1316: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb680ae in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:48.394750 [ 1129 ] {a1bb1244-a526-4c9c-8c54-0807d073870d} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45250) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756 where dummy in (0, 2) settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:48.396986 [ 1129 ] {a1bb1244-a526-4c9c-8c54-0807d073870d} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000003bb687b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000003bb6563a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a4aa in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:48.972599 [ 8594 ] {9c0da8ca-5fe0-4858-91c5-157ca470a977} executeQuery: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48946) (comment: 01710_minmax_count_projection.sql) (in query: select count(if(d=4, Null, 1)) from test settings force_optimize_projection = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000f03c497 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:0: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000003f31c8f0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000003f16c275 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f168f9b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:48.974668 [ 8594 ] {9c0da8ca-5fe0-4858-91c5-157ca470a977} TCPHandler: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000f03c497 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:0: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000003f31c8f0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000003f16c275 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f168f9b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:49.646316 [ 2793 ] {f0b4306c-2f01-4af0-b2ee-54840f683ae9} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitAnd: While processing bitAnd(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitAnd(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000cc9b8de in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ca15e99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:49.647882 [ 2793 ] {f0b4306c-2f01-4af0-b2ee-54840f683ae9} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitAnd: While processing bitAnd(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000cc9b8de in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ca15e99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:50.225217 [ 2793 ] {f573905e-32ad-46ae-8f3e-2b59a1cd2332} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitXor: While processing bitXor(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitXor(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000ec1db3e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e991eb9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:50.723431 [ 17248 ] {594b1fe9-a0b8-4aa4-b2ca-3065ad4b1f18} executeQuery: Code: 47. DB::Exception: Unknown identifier: arr; there are columns: notEquals(x, 0), 0, 0, x: While processing (x != 0) AND arr. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49316) (comment: 01674_where_prewhere_array_crash.sql) (in query: select x from tab array join arr prewhere x != 0 where arr;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x000000000f02f975 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:728: DB::ActionsMatcher::getNameAndTypeFromAST(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d678a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b72 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:50.723405 [ 2793 ] {f573905e-32ad-46ae-8f3e-2b59a1cd2332} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitXor: While processing bitXor(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000ec1db3e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e991eb9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:50.725226 [ 17248 ] {594b1fe9-a0b8-4aa4-b2ca-3065ad4b1f18} TCPHandler: Code: 47. DB::Exception: Unknown identifier: arr; there are columns: notEquals(x, 0), 0, 0, x: While processing (x != 0) AND arr. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x000000000f02f975 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:728: DB::ActionsMatcher::getNameAndTypeFromAST(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d678a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b72 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:51.317245 [ 2793 ] {1e778891-a5ad-4029-84cc-c253644ae079} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitOr: While processing bitOr(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitOr(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000d94d89e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d6b09f9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:51.741997 [ 2793 ] {1e778891-a5ad-4029-84cc-c253644ae079} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitOr: While processing bitOr(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000d94d89e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d6b09f9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:51.742109 [ 17248 ] {fec86b86-0a37-4925-8da8-f62b55eca5e2} executeQuery: Code: 47. DB::Exception: Unknown identifier: 'arr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49316) (comment: 01674_where_prewhere_array_crash.sql) (in query: select x from tab array join arr prewhere arr where x != 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:326: DB::ActionsDAG::findInOutputs(String const&) const @ 0x00000000374dd3c7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037cc91e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce2302 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:51.744072 [ 17248 ] {fec86b86-0a37-4925-8da8-f62b55eca5e2} TCPHandler: Code: 47. DB::Exception: Unknown identifier: 'arr'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:326: DB::ActionsDAG::findInOutputs(String const&) const @ 0x00000000374dd3c7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037cc91e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce2302 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:52.341457 [ 2793 ] {7017b958-7066-4666-9e5a-9c1bb46406eb} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitTest: While processing bitTest(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitTest(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e8b979e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e693d19 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:52.343699 [ 2793 ] {7017b958-7066-4666-9e5a-9c1bb46406eb} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitTest: While processing bitTest(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e8b979e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e693d19 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:52.364415 [ 2793 ] {4e74f9d3-db6c-49d6-b81a-1271512a48ec} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitTest: While processing bitTest(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitTest(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e8b979e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e693d19 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:52.366094 [ 2793 ] {4e74f9d3-db6c-49d6-b81a-1271512a48ec} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitTest: While processing bitTest(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e8b979e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e693d19 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:52.939904 [ 2793 ] {363c8266-da1f-419d-af8f-d3aa624bde16} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateLeft: While processing bitRotateLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitRotateLeft(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000dc540fe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d9a4979 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:52.941658 [ 2793 ] {363c8266-da1f-419d-af8f-d3aa624bde16} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateLeft: While processing bitRotateLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000dc540fe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d9a4979 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:53.523645 [ 2793 ] {392d2787-9e72-4dcd-a620-00815690cb3f} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateRight: While processing bitRotateRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitRotateRight(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000df5ae7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000dcaa4b9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:53.525653 [ 2793 ] {392d2787-9e72-4dcd-a620-00815690cb3f} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateRight: While processing bitRotateRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000df5ae7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000dcaa4b9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:54.104491 [ 2793 ] {9be82702-2745-4282-ac73-2de31b696fd2} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftLeft: While processing bitShiftLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitShiftLeft(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e2cf29e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000dfb1239 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:54.106417 [ 2793 ] {9be82702-2745-4282-ac73-2de31b696fd2} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftLeft: While processing bitShiftLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e2cf29e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000dfb1239 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:54.678239 [ 2793 ] {94de6ec2-248c-44a6-805c-3269fc5a509e} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftRight: While processing bitShiftRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49250) (comment: 01677_bit_float.sql) (in query: SELECT bitShiftRight(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e5f98fe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e32abf9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:54.903554 [ 1020 ] {d1ca34f9-9306-4c93-8893-404ec3c9ec7a} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000002 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:54.903591 [ 2793 ] {94de6ec2-248c-44a6-805c-3269fc5a509e} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftRight: While processing bitShiftRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000e5f98fe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e32abf9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:21:54.907024 [ 1020 ] {d1ca34f9-9306-4c93-8893-404ec3c9ec7a} DDLWorker: Query /* ddl_entry=query-0000000002 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:21:55.172252 [ 17751 ] {60194e05-1689-4108-8398-f772f15e632f} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41018) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:55.176013 [ 17751 ] {60194e05-1689-4108-8398-f772f15e632f} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:56.441506 [ 1020 ] {57e2d9b7-2e1a-49ee-ade2-0093821c1916} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000004 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:56.442458 [ 1020 ] {57e2d9b7-2e1a-49ee-ade2-0093821c1916} DDLWorker: Query /* ddl_entry=query-0000000004 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:21:56.534362 [ 16613 ] {215d0d49-58e9-4f6b-982b-8ee6142f69e4} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41230) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:56.536513 [ 16613 ] {215d0d49-58e9-4f6b-982b-8ee6142f69e4} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:57.974849 [ 1020 ] {1d5e26f7-d354-400f-9df7-c112e64e97c6} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000006 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:57.975697 [ 1020 ] {1d5e26f7-d354-400f-9df7-c112e64e97c6} DDLWorker: Query /* ddl_entry=query-0000000006 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:21:58.069727 [ 1129 ] {e78806f8-a175-42e1-ae2c-6ccff4ffff46} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41454) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:58.072143 [ 1129 ] {e78806f8-a175-42e1-ae2c-6ccff4ffff46} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:58.789232 [ 1020 ] {db3837ef-a33a-489e-b0ae-0e1780a8dde1} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000007 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:58.790151 [ 1020 ] {db3837ef-a33a-489e-b0ae-0e1780a8dde1} DDLWorker: Query /* ddl_entry=query-0000000007 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:21:58.903835 [ 17248 ] {16a2f799-5bc7-43a5-ac30-51ff0d650a83} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41532) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:21:58.906106 [ 17248 ] {16a2f799-5bc7-43a5-ac30-51ff0d650a83} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:00.391952 [ 1020 ] {aa3c99b4-0e0b-408b-8659-ce6cefcccac1} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000009 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:00.393176 [ 1020 ] {aa3c99b4-0e0b-408b-8659-ce6cefcccac1} DDLWorker: Query /* ddl_entry=query-0000000009 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:00.486896 [ 16971 ] {4f7d8b85-711d-494e-b1a9-9d3351c494cb} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41712) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:00.488803 [ 16971 ] {4f7d8b85-711d-494e-b1a9-9d3351c494cb} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:01.957067 [ 1020 ] {c8d28a38-4641-499a-9c43-3477086f5daf} executeQuery: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000010 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6348: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000003c1317f9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c14543b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:827: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x0000000037aa04c8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9180a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:01.961045 [ 1020 ] {c8d28a38-4641-499a-9c43-3477086f5daf} DDLWorker: Query /* ddl_entry=query-0000000010 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6348: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000003c1317f9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c14543b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:827: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x0000000037aa04c8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9180a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:02.250050 [ 16564 ] {ead02411-b3bb-442f-902c-04c08eef8d6f} executeQuery: Code: 341. DB::Exception: There was an error on [localhost:9000]: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)). (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41810) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:02.252566 [ 16564 ] {ead02411-b3bb-442f-902c-04c08eef8d6f} TCPHandler: Code: 341. DB::Exception: There was an error on [localhost:9000]: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:03.439754 [ 9401 ] {8d9c1fab-8ac3-46dc-95a1-2138c5d7c543} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10)). (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41820) (comment: 01659_h3_buffer_overflow.sql) (in query: SELECT h3HexRing(0xFFFFFFFFFFFFFF, toUInt16(10)) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000001361a46a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013618460 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:22:03.442307 [ 9401 ] {8d9c1fab-8ac3-46dc-95a1-2138c5d7c543} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10)). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000001361a46a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013618460 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:22:03.469641 [ 9401 ] {e7fd8593-3ddd-45bc-886b-e05e330966cf} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10000, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10000)). (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41820) (comment: 01659_h3_buffer_overflow.sql) (in query: SELECT h3HexRing(0xFFFFFFFFFFFFFF, toUInt16(10000)) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000001361a46a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013618460 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:22:03.471746 [ 9401 ] {e7fd8593-3ddd-45bc-886b-e05e330966cf} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10000, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10000)). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000001361a46a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013618460 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:22:03.620184 [ 1020 ] {1d10c78e-ecf5-4164-a41c-d0d9e98afa87} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000012 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:03.621071 [ 1020 ] {1d10c78e-ecf5-4164-a41c-d0d9e98afa87} DDLWorker: Query /* ddl_entry=query-0000000012 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:03.715019 [ 2793 ] {b423a317-c71a-4e6f-8663-f2be36c3175f} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39032) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:03.717983 [ 2793 ] {b423a317-c71a-4e6f-8663-f2be36c3175f} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:04.930867 [ 17871 ] {1e1228cd-16f0-42e2-b584-3483f5bfffcf} executeQuery: Code: 8. DB::Exception: Cannot find column `count(equals(7, _CAST(NULL, 'Nullable(UInt64)')))` in source stream, there are only columns: [count(equals(7, _subquery185))]. (THERE_IS_NO_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39064) (comment: 01651_bugs_from_15889.sql) (in query: SELECT count(7 = (SELECT number FROM numbers(0) ORDER BY number ASC NULLS FIRST LIMIT 7)) FROM xp_d PREWHERE toYYYYMM(A) GLOBAL IN (SELECT NULL = (SELECT number FROM numbers(1) ORDER BY number DESC NULLS LAST LIMIT 1), toYYYYMM(min(A)) FROM xp_d) WHERE B > NULL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1261: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000375158ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:876: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4dbef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:04.936601 [ 17871 ] {1e1228cd-16f0-42e2-b584-3483f5bfffcf} TCPHandler: Code: 8. DB::Exception: Cannot find column `count(equals(7, _CAST(NULL, 'Nullable(UInt64)')))` in source stream, there are only columns: [count(equals(7, _subquery185))]. (THERE_IS_NO_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1261: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000375158ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:876: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4dbef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:05.802699 [ 1020 ] {3259b1e8-ee2f-4728-9766-87967c6bf37f} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01671_ddl_hang_timeout_long_test_4p76rxpl/test_01671/replicas/r_5). (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000014 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146d46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:827: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x0000000037aa04c8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9180a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:05.803593 [ 1020 ] {3259b1e8-ee2f-4728-9766-87967c6bf37f} DDLWorker: Query /* ddl_entry=query-0000000014 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01671_ddl_hang_timeout_long_test_4p76rxpl/test_01671/replicas/r_5). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146d46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:827: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x0000000037aa04c8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9180a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:06.485482 [ 1020 ] {} DDLWorker: , task query-0000000014 will not be executed. 2024.12.17 03:22:06.607287 [ 1129 ] {5b1e1d02-f238-4700-95fb-9b5f5691b279} executeQuery: Code: 341. DB::Exception: There was an error on [localhost:9000]: Cannot execute replicated DDL query, table is dropped or detached permanently. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39234) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:06.609922 [ 1129 ] {5b1e1d02-f238-4700-95fb-9b5f5691b279} TCPHandler: Code: 341. DB::Exception: There was an error on [localhost:9000]: Cannot execute replicated DDL query, table is dropped or detached permanently. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:07.233840 [ 1020 ] {1bd5e63b-e6b5-4f98-b90b-dee798f6e69e} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000015 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:07.234564 [ 1020 ] {1bd5e63b-e6b5-4f98-b90b-dee798f6e69e} DDLWorker: Query /* ddl_entry=query-0000000015 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:07.328045 [ 17504 ] {0b5280fa-ed32-42a0-a4f3-1341cab79366} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39400) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:07.331267 [ 17504 ] {0b5280fa-ed32-42a0-a4f3-1341cab79366} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:07.959025 [ 1020 ] {24724d4b-2cad-4ad8-8af8-1333a8b7f598} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000016 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:07.959772 [ 1020 ] {24724d4b-2cad-4ad8-8af8-1333a8b7f598} DDLWorker: Query /* ddl_entry=query-0000000016 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:08.058419 [ 2794 ] {266ce981-97fe-4343-88d5-7f181bf87976} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39450) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:08.060599 [ 2794 ] {266ce981-97fe-4343-88d5-7f181bf87976} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:08.684899 [ 17871 ] {1e3bdb75-dbac-44b2-a68f-1f046c55c74f} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(Array(Nullable(Float64)), String) which cannot be Nullable: While processing (WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery199: While processing query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery199): While processing (query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery199)) AND ((concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol) LIKE '%Source%'). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39064) (comment: 01651_bugs_from_15889.sql) (in query: WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT count() > 7 FROM trace_log AS t WHERE (query_id = ( SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE current_database = currentDatabase() AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1 )) AND (symbol LIKE '%Source%');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f70e40 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f6741e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a7082be in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f7e34 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:22:08.688017 [ 17871 ] {1e3bdb75-dbac-44b2-a68f-1f046c55c74f} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(Array(Nullable(Float64)), String) which cannot be Nullable: While processing (WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery199: While processing query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery199): While processing (query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery199)) AND ((concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol) LIKE '%Source%'). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f70e40 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f6741e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a7082be in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f7e34 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:22:08.702292 [ 1020 ] {521befe3-9893-4a2c-a7c9-8bff48d0fe6e} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000017 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:08.703230 [ 1020 ] {521befe3-9893-4a2c-a7c9-8bff48d0fe6e} DDLWorker: Query /* ddl_entry=query-0000000017 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:08.793350 [ 8779 ] {57335006-27e6-4d2c-b77a-310410b381fe} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39520) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:08.795447 [ 8779 ] {57335006-27e6-4d2c-b77a-310410b381fe} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:08.856010 [ 17871 ] {fea0a208-2835-47f7-98d0-5b470a281716} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, String) which cannot be Nullable: While processing (WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery200: While processing query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery200): While processing greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery200)). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39064) (comment: 01651_bugs_from_15889.sql) (in query: WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT count() > 0 FROM trace_log AS t WHERE greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ( SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE current_database = currentDatabase() AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1 ));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f70e40 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f6741e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a7082be in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f7e34 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:22:08.858827 [ 17871 ] {fea0a208-2835-47f7-98d0-5b470a281716} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, String) which cannot be Nullable: While processing (WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery200: While processing query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery200): While processing greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery200)). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f70e40 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f6741e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f73e8a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f67503 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f662b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f6654d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a7082be in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f7e34 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:22:09.455224 [ 1020 ] {aec81e69-ec96-4761-9143-ef23d6c4b640} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000018 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:09.455951 [ 1020 ] {aec81e69-ec96-4761-9143-ef23d6c4b640} DDLWorker: Query /* ddl_entry=query-0000000018 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:09.551544 [ 17509 ] {5bb0ff28-3842-406d-bf6f-d821d15aada5} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39624) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:09.553692 [ 17509 ] {5bb0ff28-3842-406d-bf6f-d821d15aada5} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:10.186095 [ 1020 ] {92c6fb96-1300-4e07-abf3-d63c1d261ed9} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000019 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:10.187055 [ 1020 ] {92c6fb96-1300-4e07-abf3-d63c1d261ed9} DDLWorker: Query /* ddl_entry=query-0000000019 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:10.283685 [ 17867 ] {6f4a2a6d-43ec-43b6-acf3-7bc81e65d5b5} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39690) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:10.285896 [ 17867 ] {6f4a2a6d-43ec-43b6-acf3-7bc81e65d5b5} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:10.967101 [ 1020 ] {d6960507-af78-4171-b97d-601584467dc5} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000020 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:10.968352 [ 1020 ] {d6960507-af78-4171-b97d-601584467dc5} DDLWorker: Query /* ddl_entry=query-0000000020 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:11.058910 [ 9400 ] {4ccb7035-8c0c-4915-8888-75b712f7a368} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39778) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:11.061076 [ 9400 ] {4ccb7035-8c0c-4915-8888-75b712f7a368} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:11.733541 [ 1020 ] {2f5aefb4-17c9-4eb9-8e96-6c73a037a171} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000021 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:11.734623 [ 1020 ] {2f5aefb4-17c9-4eb9-8e96-6c73a037a171} DDLWorker: Query /* ddl_entry=query-0000000021 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9194e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:11.829884 [ 1131 ] {2af12707-5deb-492b-9220-60ec302e2e49} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39818) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:11.832255 [ 1131 ] {2af12707-5deb-492b-9220-60ec302e2e49} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:12.950264 [ 1020 ] {48f06acd-7fe2-421c-9379-47427b547fa5} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000022 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/DDLWorker.cpp:827: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x0000000037aa04c8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9180a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:12.952269 [ 1020 ] {48f06acd-7fe2-421c-9379-47427b547fa5} DDLWorker: Query /* ddl_entry=query-0000000022 */ ALTER TABLE test_4p76rxpl.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395fc4e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a978f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/DDLWorker.cpp:827: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x0000000037aa04c8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a9180a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a89ff6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a79389 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037abcf47 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037abcd9f in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:13.179949 [ 9399 ] {f61a55e7-f7ce-4cef-a9b2-863d7147c617} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39906) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_4p76rxpl.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:13.182751 [ 9399 ] {f61a55e7-f7ce-4cef-a9b2-863d7147c617} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:14.511649 [ 17871 ] {7853fa99-8843-406f-a883-03fd34a8bb4d} executeQuery: Code: 43. DB::Exception: Illegal type Tuple(Float64, DateTime) of argument of function toDateTime: While processing if(dateDiff('second', toDateTime(_CAST('1734391328.869133', 'Nullable(DateTime64(6))') AS time_with_microseconds), toDateTime(__getScalar('328664473894676434_743697615286468304') AS t)) = -9223372036854775808, 'ok', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39064) (comment: 01651_bugs_from_15889.sql) (in query: WITH ( ( SELECT query_start_time_microseconds FROM system.query_log WHERE current_database = currentDatabase() ORDER BY query_start_time DESC LIMIT 1 ) AS time_with_microseconds, ( SELECT inf, query_start_time FROM system.query_log WHERE current_database = currentDatabase() ORDER BY query_start_time DESC LIMIT 1 ) AS t) SELECT if(dateDiff('second', toDateTime(time_with_microseconds), toDateTime(t)) = -9223372036854775808, 'ok', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d5809b in /usr/bin/clickhouse 4. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d55ee2 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:22:14.516233 [ 17871 ] {7853fa99-8843-406f-a883-03fd34a8bb4d} TCPHandler: Code: 43. DB::Exception: Illegal type Tuple(Float64, DateTime) of argument of function toDateTime: While processing if(dateDiff('second', toDateTime(_CAST('1734391328.869133', 'Nullable(DateTime64(6))') AS time_with_microseconds), toDateTime(__getScalar('328664473894676434_743697615286468304') AS t)) = -9223372036854775808, 'ok', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d5809b in /usr/bin/clickhouse 4. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d55ee2 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:22:23.320077 [ 17867 ] {4f18be1d-b7c9-46ac-ac36-69d88e4db3c4} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40762). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40762) (comment: 01675_data_type_coroutine.sh) (in query: SELECT `x` FROM generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1) LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:972: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d4f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:23.991088 [ 17867 ] {4f18be1d-b7c9-46ac-ac36-69d88e4db3c4} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40762). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:23.991098 [ 7430 ] {6d4fdd18-825e-4f08-87ac-10161b026245} executeQuery: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.2:9000: While executing Remote. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44322) (comment: 01675_data_type_coroutine.sh) (in query: SELECT * FROM remote('127.0.0.{1,2}', generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1)) LIMIT 1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:59: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3c310 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0d379 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:68: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0c1a1 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 2024.12.17 03:22:23.991099 [ 17509 ] {1a3b7c5b-a842-4244-a8aa-ecfa08f6f58a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:58946). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58946) (comment: 01675_data_type_coroutine.sh) (in query: SELECT `x` FROM generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1) LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000003e0ceae7 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d01 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:23.991857 [ 17867 ] {4f18be1d-b7c9-46ac-ac36-69d88e4db3c4} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40762). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:972: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d4f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:23.993097 [ 17867 ] {4f18be1d-b7c9-46ac-ac36-69d88e4db3c4} TCPHandler: Client has gone away. 2024.12.17 03:22:23.995985 [ 17509 ] {1a3b7c5b-a842-4244-a8aa-ecfa08f6f58a} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:58946). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:23.996422 [ 17509 ] {1a3b7c5b-a842-4244-a8aa-ecfa08f6f58a} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:58946). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000003e0ceae7 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d01 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:23.997283 [ 17509 ] {1a3b7c5b-a842-4244-a8aa-ecfa08f6f58a} TCPHandler: Client has gone away. 2024.12.17 03:22:23.998167 [ 7430 ] {6d4fdd18-825e-4f08-87ac-10161b026245} TCPHandler: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.2:9000: While executing Remote. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:59: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3c310 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0d379 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:68: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0c1a1 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 2024.12.17 03:22:23.999399 [ 7430 ] {6d4fdd18-825e-4f08-87ac-10161b026245} TCPHandler: Client has gone away. 2024.12.17 03:22:28.054306 [ 9398 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:45250). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:28.054381 [ 16574 ] {7033a6ae-41c7-498e-b699-2894d8bed0cb} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:51446). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51446) (comment: 01675_data_type_coroutine_2.sh) (in query: SELECT `x` FROM generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1) LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0c4287 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:968: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d09 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:28.054573 [ 16757 ] {8e79bbfd-6d1c-416f-b3cb-aa6e5f0abfd1} executeQuery: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.1:9000: While executing Remote. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55248) (comment: 01675_data_type_coroutine_2.sh) (in query: SELECT * FROM remote('127.0.0.{1,2}', generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1)) LIMIT 1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:59: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3c310 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0d379 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:68: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0c1a1 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 2024.12.17 03:22:28.058246 [ 16574 ] {7033a6ae-41c7-498e-b699-2894d8bed0cb} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:51446). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:28.058703 [ 16574 ] {7033a6ae-41c7-498e-b699-2894d8bed0cb} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:51446). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0c4287 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:968: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2d09 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:28.059591 [ 16757 ] {8e79bbfd-6d1c-416f-b3cb-aa6e5f0abfd1} TCPHandler: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.1:9000: While executing Remote. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:59: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3c310 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0d379 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:68: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe0c1a1 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3d1c0 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe3f27d in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fe413a8 in /usr/bin/clickhouse 2024.12.17 03:22:28.059705 [ 16574 ] {7033a6ae-41c7-498e-b699-2894d8bed0cb} TCPHandler: Client has gone away. 2024.12.17 03:22:28.061657 [ 16757 ] {8e79bbfd-6d1c-416f-b3cb-aa6e5f0abfd1} TCPHandler: Client has gone away. 2024.12.17 03:22:29.818771 [ 9400 ] {dcf06321-0999-45ba-becc-0b2b624f41f4} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55306) (comment: 01602_insert_into_table_function_cluster.sql) (in query: -- More than one shard, sharding key is necessary INSERT INTO FUNCTION cluster('test_cluster_two_shards_localhost', currentDatabase(), x) SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003bb79a18 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:29.820941 [ 9400 ] {dcf06321-0999-45ba-becc-0b2b624f41f4} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003bb79a18 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:29.935142 [ 9400 ] {9cb9e0b9-5b9a-4fad-9839-6db1d62388f6} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55306) (comment: 01602_insert_into_table_function_cluster.sql) (in query: INSERT INTO FUNCTION remote('127.0.0.{1,2}', currentDatabase(), y, '[HIDDEN]') SELECT * FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003bb79a18 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:29.937110 [ 9400 ] {9cb9e0b9-5b9a-4fad-9839-6db1d62388f6} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003bb79a18 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edc01a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.480911 [ 8562 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:41948). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.859930 [ 9407 ] {f73dda52-709e-4e09-bcf0-42bb3f826c58} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:39406). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39406) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.860013 [ 16671 ] {c7abb2f4-6da6-4f6e-a91a-77188618ff5c} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:52302). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52302) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.859967 [ 9399 ] {6bfdfe25-ac96-458c-b31f-72790e88e793} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:58676). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58676) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.860134 [ 17751 ] {f812f119-69df-48bd-a2cf-6f1e16103885} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:59036). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59036) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.860278 [ 1837 ] {8112a94e-1c16-476e-904a-3ef83b0d3ae1} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:60768). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60768) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.860197 [ 16645 ] {c9102f97-1960-41bd-8a9c-ee1c1ae460a7} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:54132). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54132) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.860370 [ 9401 ] {5fd0e48f-a971-4ea9-ac36-f1ca8bdbf421} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:42696). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42696) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.864135 [ 9407 ] {f73dda52-709e-4e09-bcf0-42bb3f826c58} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:39406). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.864239 [ 9399 ] {6bfdfe25-ac96-458c-b31f-72790e88e793} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:58676). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.864296 [ 1837 ] {8112a94e-1c16-476e-904a-3ef83b0d3ae1} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:60768). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.864604 [ 9399 ] {6bfdfe25-ac96-458c-b31f-72790e88e793} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:58676). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.864604 [ 1837 ] {8112a94e-1c16-476e-904a-3ef83b0d3ae1} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:60768). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.864679 [ 9407 ] {f73dda52-709e-4e09-bcf0-42bb3f826c58} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:39406). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.864751 [ 16671 ] {c7abb2f4-6da6-4f6e-a91a-77188618ff5c} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:52302). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.864970 [ 9401 ] {5fd0e48f-a971-4ea9-ac36-f1ca8bdbf421} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:42696). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.865113 [ 16671 ] {c7abb2f4-6da6-4f6e-a91a-77188618ff5c} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:52302). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.865138 [ 17751 ] {f812f119-69df-48bd-a2cf-6f1e16103885} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:59036). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.865277 [ 16645 ] {c9102f97-1960-41bd-8a9c-ee1c1ae460a7} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:54132). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:37.865390 [ 9401 ] {5fd0e48f-a971-4ea9-ac36-f1ca8bdbf421} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:42696). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.865468 [ 9399 ] {6bfdfe25-ac96-458c-b31f-72790e88e793} TCPHandler: Client has gone away. 2024.12.17 03:22:37.865528 [ 16645 ] {c9102f97-1960-41bd-8a9c-ee1c1ae460a7} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:54132). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.865563 [ 9407 ] {f73dda52-709e-4e09-bcf0-42bb3f826c58} TCPHandler: Client has gone away. 2024.12.17 03:22:37.865633 [ 1837 ] {8112a94e-1c16-476e-904a-3ef83b0d3ae1} TCPHandler: Client has gone away. 2024.12.17 03:22:37.865627 [ 17751 ] {f812f119-69df-48bd-a2cf-6f1e16103885} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:59036). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:37.865843 [ 16671 ] {c7abb2f4-6da6-4f6e-a91a-77188618ff5c} TCPHandler: Client has gone away. 2024.12.17 03:22:37.866080 [ 9401 ] {5fd0e48f-a971-4ea9-ac36-f1ca8bdbf421} TCPHandler: Client has gone away. 2024.12.17 03:22:37.866331 [ 16645 ] {c9102f97-1960-41bd-8a9c-ee1c1ae460a7} TCPHandler: Client has gone away. 2024.12.17 03:22:37.868428 [ 17751 ] {f812f119-69df-48bd-a2cf-6f1e16103885} TCPHandler: Client has gone away. 2024.12.17 03:22:38.596479 [ 8594 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:39412). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:38.889242 [ 9424 ] {865b4de7-4b00-45ea-8657-f4bcf3acec3e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:52310). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52310) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.889412 [ 16742 ] {deda510d-f7e3-4f6d-84f9-e6443dd8cf87} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:58688). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58688) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.889417 [ 17379 ] {7e3de7fb-696a-443a-9d54-b0e5b93de449} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:42698). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42698) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.889418 [ 16575 ] {fe2030ce-a1a0-47ac-bdc1-80bf44eaa038} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:60776). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60776) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.889490 [ 16613 ] {045b5254-cada-4e17-be48-3c31bb095e77} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:59052). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59052) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.889720 [ 16615 ] {593fbe52-192f-4095-93f3-ae5af4015fe5} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:54140). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54140) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.892447 [ 9424 ] {865b4de7-4b00-45ea-8657-f4bcf3acec3e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:52310). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:38.892458 [ 16615 ] {593fbe52-192f-4095-93f3-ae5af4015fe5} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:54140). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:38.892506 [ 16613 ] {045b5254-cada-4e17-be48-3c31bb095e77} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:59052). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:38.892537 [ 17379 ] {7e3de7fb-696a-443a-9d54-b0e5b93de449} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:42698). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:38.892503 [ 16742 ] {deda510d-f7e3-4f6d-84f9-e6443dd8cf87} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:58688). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:38.892674 [ 16575 ] {fe2030ce-a1a0-47ac-bdc1-80bf44eaa038} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:60776). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:38.892818 [ 9424 ] {865b4de7-4b00-45ea-8657-f4bcf3acec3e} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:52310). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.892819 [ 16615 ] {593fbe52-192f-4095-93f3-ae5af4015fe5} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:54140). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.892888 [ 16742 ] {deda510d-f7e3-4f6d-84f9-e6443dd8cf87} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:58688). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.892836 [ 16613 ] {045b5254-cada-4e17-be48-3c31bb095e77} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:59052). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.892896 [ 17379 ] {7e3de7fb-696a-443a-9d54-b0e5b93de449} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:42698). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.892993 [ 16575 ] {fe2030ce-a1a0-47ac-bdc1-80bf44eaa038} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:60776). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:38.893700 [ 9424 ] {865b4de7-4b00-45ea-8657-f4bcf3acec3e} TCPHandler: Client has gone away. 2024.12.17 03:22:38.893704 [ 16615 ] {593fbe52-192f-4095-93f3-ae5af4015fe5} TCPHandler: Client has gone away. 2024.12.17 03:22:38.893774 [ 16575 ] {fe2030ce-a1a0-47ac-bdc1-80bf44eaa038} TCPHandler: Client has gone away. 2024.12.17 03:22:38.893700 [ 16613 ] {045b5254-cada-4e17-be48-3c31bb095e77} TCPHandler: Client has gone away. 2024.12.17 03:22:38.893704 [ 16742 ] {deda510d-f7e3-4f6d-84f9-e6443dd8cf87} TCPHandler: Client has gone away. 2024.12.17 03:22:38.893712 [ 17379 ] {7e3de7fb-696a-443a-9d54-b0e5b93de449} TCPHandler: Client has gone away. 2024.12.17 03:22:41.438930 [ 9424 ] {f521d56b-7a89-4043-a7c1-c022fdac4a49} executeQuery: Code: 63. DB::Exception: Aggregate function with name 'abs' does not exists. In scope SELECT number, abs(number) OVER (PARTITION BY toString(intDiv(number, 3)) ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(10). (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- not a window function select number, abs(number) over (partition by toString(intDiv(number, 3)) rows unbounded preceding) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5000: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397aaab8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:41.440963 [ 9424 ] {f521d56b-7a89-4043-a7c1-c022fdac4a49} TCPHandler: Code: 63. DB::Exception: Aggregate function with name 'abs' does not exists. In scope SELECT number, abs(number) OVER (PARTITION BY toString(intDiv(number, 3)) ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(10). (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5000: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397aaab8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:45.947519 [ 8594 ] {5a382b45-09d6-467f-b130-04ef64adce16} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(inf). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt64(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009904c7a in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000098d4d55 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cdb82 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cc482 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:45.951364 [ 8594 ] {5a382b45-09d6-467f-b130-04ef64adce16} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009904c7a in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000098d4d55 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cdb82 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cc482 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:46.565056 [ 8594 ] {935dd1c3-1202-404a-830e-32ab83bb217a} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(inf). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt128(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000997dcc4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000994cc95 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009945ac2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099443c2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:46.567231 [ 8594 ] {935dd1c3-1202-404a-830e-32ab83bb217a} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000997dcc4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000994cc95 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009945ac2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099443c2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.174635 [ 8594 ] {236a28a9-adfb-4906-90a7-d4b3b1a968b6} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(inf). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt256(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000099f87a4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000099c9415 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c2242 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c0b42 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.551228 [ 17379 ] {b51838fe-31b7-409e-a6ff-adde278a5272} executeQuery: Code: 36. DB::Exception: Frame start offset 2 FOLLOWING does not precede the frame end offset 0 FOLLOWING. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42236) (comment: 01571_window_functions.sql) (in query: -- signed and unsigned in offset do not cause logical error select count() over (rows between 2 following and 1 + -1 following) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Field const&, char const (&) [10], DB::Field const&, char const (&) [10]) @ 0x000000003a85c99a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:179: DB::WindowFrame::checkValid() const @ 0x000000003a85aedd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:47.551213 [ 8594 ] {236a28a9-adfb-4906-90a7-d4b3b1a968b6} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000099f87a4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000099c9415 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c2242 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c0b42 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.851024 [ 17379 ] {b51838fe-31b7-409e-a6ff-adde278a5272} TCPHandler: Code: 36. DB::Exception: Frame start offset 2 FOLLOWING does not precede the frame end offset 0 FOLLOWING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Field const&, char const (&) [10], DB::Field const&, char const (&) [10]) @ 0x000000003a85c99a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:179: DB::WindowFrame::checkValid() const @ 0x000000003a85aedd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x000000003a85b87f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000003f30f607 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x0000000039b7a0d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b55657 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:47.851037 [ 9424 ] {3cd9fc77-1086-4def-af86-2e71bdc610ef} executeQuery: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: select lagInFrameOrNull(1) over ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1433: DB::WindowFunction::fail() const @ 0x000000003ed8e11a in /usr/bin/clickhouse 4. ? @ 0x000000003ed8b0e9 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionOrFill.h:111: DB::AggregateFunctionOrFill::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x000000002ae72761 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:960: DB::WindowTransform::updateAggregationState() @ 0x000000003ed6cdfd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fc3f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:47.854770 [ 9424 ] {3cd9fc77-1086-4def-af86-2e71bdc610ef} TCPHandler: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1433: DB::WindowFunction::fail() const @ 0x000000003ed8e11a in /usr/bin/clickhouse 4. ? @ 0x000000003ed8b0e9 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionOrFill.h:111: DB::AggregateFunctionOrFill::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x000000002ae72761 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:960: DB::WindowTransform::updateAggregationState() @ 0x000000003ed6cdfd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fc3f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:47.873079 [ 8594 ] {59bb952e-e83e-4cae-91e2-343821931ff6} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(nan). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt64(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009904c7a in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000098d4d55 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cdb82 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cc482 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.875184 [ 8594 ] {59bb952e-e83e-4cae-91e2-343821931ff6} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009904c7a in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000098d4d55 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cdb82 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000098cc482 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.897048 [ 8594 ] {8052e747-e5e1-45f2-aa86-d0ef041965b6} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(nan). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt128(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000997dcc4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000994cc95 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009945ac2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099443c2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.899079 [ 8594 ] {8052e747-e5e1-45f2-aa86-d0ef041965b6} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000997dcc4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000994cc95 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009945ac2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099443c2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.920027 [ 8594 ] {e2379af3-22c7-4b81-802f-3f957483439c} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(nan). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt256(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000099f87a4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000099c9415 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c2242 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c0b42 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:47.921779 [ 8594 ] {e2379af3-22c7-4b81-802f-3f957483439c} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000099f87a4 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000099c9415 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c2242 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000099c0b42 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:48.525325 [ 8594 ] {82eccfa5-32e0-40e8-852b-165b76319a88} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(inf). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt64(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009632c65 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603df5 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:48.831384 [ 8594 ] {82eccfa5-32e0-40e8-852b-165b76319a88} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009632c65 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603df5 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:48.831525 [ 9424 ] {01145a27-cf83-4007-a452-089e3fc550cb} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- nth_value UBsan SELECT nth_value(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2266: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed962fb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9676d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:48.834833 [ 9424 ] {01145a27-cf83-4007-a452-089e3fc550cb} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2266: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed962fb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9676d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:49.439819 [ 8594 ] {097b670e-923f-4179-bbd6-87c652037a6e} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(inf). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt256(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000097265d7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000096f74b5 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096f02e2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096eebe2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:49.440137 [ 9424 ] {7609e64f-24e5-4e00-ae6c-c7aa9ccc951c} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], 0 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: SELECT nth_value(1, 0) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2266: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed962fb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9676d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:49.441643 [ 8594 ] {097b670e-923f-4179-bbd6-87c652037a6e} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000097265d7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000096f74b5 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096f02e2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096eebe2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:49.443696 [ 9424 ] {7609e64f-24e5-4e00-ae6c-c7aa9ccc951c} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], 0 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2266: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed962fb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9676d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:49.461775 [ 8594 ] {6ffbb572-283f-4ace-aadc-036a362e1fb1} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(nan). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt64(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009632c65 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603df5 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:49.463564 [ 8594 ] {6ffbb572-283f-4ace-aadc-036a362e1fb1} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009632c65 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603df5 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:49.481636 [ 8594 ] {c3b523c3-8c82-44fc-88eb-752d6a81f65f} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(nan). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42228) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt256(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000097265d7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000096f74b5 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096f02e2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096eebe2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:49.483533 [ 8594 ] {c3b523c3-8c82-44fc-88eb-752d6a81f65f} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000949dd57 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000097265d7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000096f74b5 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096f02e2 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000096eebe2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:22:49.486379 [ 9424 ] {d5dc6d26-fc46-4000-ba14-c8da1ca035ba} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: SELECT nth_value(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2266: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed962fb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9676d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:49.488878 [ 9424 ] {d5dc6d26-fc46-4000-ba14-c8da1ca035ba} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2266: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed962fb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9676d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:49.908866 [ 9424 ] {3fbc45d5-0d80-4e1c-bcbc-87769eed3d51} executeQuery: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- lagInFrame UBsan SELECT lagInFrame(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9ac6f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9b70d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:49.912108 [ 9424 ] {3fbc45d5-0d80-4e1c-bcbc-87769eed3d51} TCPHandler: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9ac6f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9b70d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:49.999037 [ 9424 ] {c29e1120-1891-48ff-867a-8ddddf8d0b87} executeQuery: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: SELECT lagInFrame(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9ac6f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9b70d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:50.001556 [ 9424 ] {c29e1120-1891-48ff-867a-8ddddf8d0b87} TCPHandler: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9ac6f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9b70d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:50.437753 [ 9424 ] {0bc3b7ec-d156-456e-b0b8-406433a0619e} executeQuery: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- leadInFrame UBsan SELECT leadInFrame(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9efef in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9fa8d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:50.440443 [ 9424 ] {0bc3b7ec-d156-456e-b0b8-406433a0619e} TCPHandler: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9efef in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9fa8d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:50.525166 [ 9424 ] {8a02080f-5161-4308-beed-43f90a148938} executeQuery: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: SELECT leadInFrame(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9efef in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9fa8d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:50.527844 [ 9424 ] {8a02080f-5161-4308-beed-43f90a148938} TCPHandler: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000003ed96ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2179: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9efef in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000003ed9fa8d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000003ed6fe16 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::work() @ 0x000000003ed795a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:51.172572 [ 9424 ] {b452dd65-72a9-4c87-ae2b-4655544c5f15} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- nth_value Msan SELECT nth_value(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2233: DB::WindowFunctionNthValue::WindowFunctionNthValue(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed95697 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed949b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000003ed7c0f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e3c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:51.174377 [ 9424 ] {b452dd65-72a9-4c87-ae2b-4655544c5f15} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2233: DB::WindowFunctionNthValue::WindowFunctionNthValue(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed95697 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed949b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000003ed7c0f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e3c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:51.727901 [ 9424 ] {d94386b3-9127-4751-9824-5622b5355d86} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- lagInFrame Msan SELECT lagInFrame(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2114: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed98d1c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed97315 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000003ed7c1f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e3c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:52.090648 [ 16615 ] {4d109665-cb55-4f84-8508-3f5666dd18aa} executeQuery: Code: 50. DB::Exception: Unknown data type family: CODEC. (UNKNOWN_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42280) (comment: 01559_misplaced_codec_diagnostics.sh) (in query: CREATE TABLE t (c CODEC(NONE)) ENGINE = Memory), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:265: std::function (std::shared_ptr const&)> const* DB::DataTypeFactory::findCreatorByName(String const&) const @ 0x0000000036b186ee in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b1319e in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:52.483557 [ 17871 ] {813ee57d-ba58-45e4-93a8-fa2e9e057c72} executeQuery: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42284) (comment: 01557_field_infinite_convert_to_number.sql) (in query: SET max_threads = nan;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000001ca6351b in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Field.h:638: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000229df9df in /usr/bin/clickhouse 5. ./build_docker/./src/Common/FieldVisitors.h:24: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x00000000368733bb in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:685: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda27'(DB::Field const&)::__invoke(DB::Field const&) @ 0x00000000364fe3f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Core/Settings.h:1073: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x0000000035e1ce00 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d94cd4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:52.483703 [ 9424 ] {d94386b3-9127-4751-9824-5622b5355d86} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2114: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed98d1c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed97315 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000003ed7c1f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e3c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:52.483840 [ 16615 ] {4d109665-cb55-4f84-8508-3f5666dd18aa} TCPHandler: Code: 50. DB::Exception: Unknown data type family: CODEC. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:265: std::function (std::shared_ptr const&)> const* DB::DataTypeFactory::findCreatorByName(String const&) const @ 0x0000000036b186ee in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b1319e in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:52.484930 [ 17871 ] {813ee57d-ba58-45e4-93a8-fa2e9e057c72} TCPHandler: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000001ca6351b in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Field.h:638: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000229df9df in /usr/bin/clickhouse 5. ./build_docker/./src/Common/FieldVisitors.h:24: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x00000000368733bb in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:685: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda27'(DB::Field const&)::__invoke(DB::Field const&) @ 0x00000000364fe3f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Core/Settings.h:1073: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x0000000035e1ce00 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d94cd4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:53.066566 [ 9424 ] {002760dc-7178-4660-86c0-1ba7549a1b27} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- leadInFrame Msan SELECT leadInFrame(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2114: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed9d65c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed9bc55 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000003ed7c2f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e3c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:53.069781 [ 9424 ] {002760dc-7178-4660-86c0-1ba7549a1b27} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:2114: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed9d65c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000003ed9bc55 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000003ed7c2f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e3c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:53.655060 [ 9424 ] {b38a8ec5-1f49-433c-b8c6-48e6058793f2} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- negative offsets should not be allowed select count() over (order by toInt64(number) range between -1 preceding and unbounded following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:53.655074 [ 16613 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:53.656649 [ 16613 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:53.657288 [ 9424 ] {b38a8ec5-1f49-433c-b8c6-48e6058793f2} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:54.203860 [ 16575 ] {a0e6aa0c-e125-48b5-8bcf-c242d4c58e2d} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/97d/97dd5b34-61ef-46ae-b95d-8f1ff5deef15/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42312) (comment: 01555_system_distribution_queue_mask.sql) (in query: -- since test_cluster_with_incorrect_pw contains incorrect password ignore error system flush distributed dist_01555;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab23e5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:54.203860 [ 9424 ] {bb1a11ca-c8aa-4576-bf15-b8495ae402d3} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between -1 following and unbounded following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:54.206082 [ 16575 ] {a0e6aa0c-e125-48b5-8bcf-c242d4c58e2d} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/97d/97dd5b34-61ef-46ae-b95d-8f1ff5deef15/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab23e5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:54.206322 [ 9424 ] {bb1a11ca-c8aa-4576-bf15-b8495ae402d3} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:54.658787 [ 16742 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:54.658884 [ 9424 ] {59496c48-5ca6-4172-be37-691ff5743574} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between unbounded preceding and -1 preceding) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:54.660352 [ 16742 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:54.661091 [ 9424 ] {59496c48-5ca6-4172-be37-691ff5743574} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:55.885999 [ 16575 ] {936ac123-5b04-463e-b9f5-f5c29ea6bc09} StorageDistributed (dist_01555): Cannot flush: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/97d/97dd5b34-61ef-46ae-b95d-8f1ff5deef15/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab2300 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageDistributed.cpp:1452: DB::StorageDistributed::flushAndPrepareForShutdown() @ 0x000000003bba5954 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/IStorage.h:566: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x00000000396486b4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:55.902893 [ 9424 ] {83a6796b-51f5-46ed-a67a-9d533f914173} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between unbounded preceding and -1 following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.071354 [ 9424 ] {83a6796b-51f5-46ed-a67a-9d533f914173} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:113: DB::WindowFrame::checkValid() const @ 0x000000003a85b39a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.073839 [ 16615 ] {f48b19bf-5c29-476f-b2b5-d7532b9eafcd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47844) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.080278 [ 16615 ] {f48b19bf-5c29-476f-b2b5-d7532b9eafcd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.124349 [ 16615 ] {bcda2508-055f-4905-90f6-613806e558f1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47844) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT JSON settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.128662 [ 16615 ] {bcda2508-055f-4905-90f6-613806e558f1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.175288 [ 16615 ] {2985441a-0b73-428d-8c3a-ff4d60e54b06} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47844) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT TSVWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.179590 [ 16615 ] {2985441a-0b73-428d-8c3a-ff4d60e54b06} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.206830 [ 17871 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:56.214340 [ 17871 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:56.222746 [ 16615 ] {f4c146ed-5cdc-46db-8f0d-c5fd2c013156} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47844) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT CSVWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.224516 [ 16615 ] {f4c146ed-5cdc-46db-8f0d-c5fd2c013156} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.713191 [ 16615 ] {97351e00-60fd-4e38-999e-06be9835e3ca} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47844) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT JSONCompactEachRowWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.714334 [ 876 ] {} test_mi80wh52.dist_01555.DirectoryMonitor.default: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/f2e/f2e1d6c8-88d2-45c4-9bc1-de2f294086d4/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab23e5 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::run() @ 0x000000003cab3519 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl const&, String const&, std::shared_ptr, DB::ActionBlocker&, DB::BackgroundSchedulePool&)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000003caca9df in /usr/bin/clickhouse 18. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003627465e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x000000003627d38e in /usr/bin/clickhouse 20. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003627efb2 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:56.717223 [ 16615 ] {97351e00-60fd-4e38-999e-06be9835e3ca} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.770358 [ 16615 ] {9d260a4e-fb27-4e56-8e1b-2c7c1e831cb1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47844) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT XML settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.774283 [ 16615 ] {9d260a4e-fb27-4e56-8e1b-2c7c1e831cb1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:56.774619 [ 17871 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:56.791950 [ 17871 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:57.355074 [ 16615 ] {d9217eb3-8f72-4e9a-98dc-25d4d8eb2f3f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47844) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:57.355255 [ 16575 ] {7d63c05b-d110-462c-b1ac-47419ba27fb8} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/f2e/f2e1d6c8-88d2-45c4-9bc1-de2f294086d4/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42312) (comment: 01555_system_distribution_queue_mask.sql) (in query: -- since test_cluster_with_incorrect_pw contains incorrect password ignore error system flush distributed dist_01555;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab2300 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:57.356089 [ 17871 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:57.358158 [ 16615 ] {d9217eb3-8f72-4e9a-98dc-25d4d8eb2f3f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:57.361576 [ 16575 ] {7d63c05b-d110-462c-b1ac-47419ba27fb8} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/f2e/f2e1d6c8-88d2-45c4-9bc1-de2f294086d4/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab2300 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000039ddb3db in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000039db66d9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:57.382560 [ 17871 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:57.863149 [ 876 ] {} test_mi80wh52.dist_01555.DirectoryMonitor.default: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/f2e/f2e1d6c8-88d2-45c4-9bc1-de2f294086d4/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab2300 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::run() @ 0x000000003cab3519 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl const&, String const&, std::shared_ptr, DB::ActionBlocker&, DB::BackgroundSchedulePool&)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000003caca9df in /usr/bin/clickhouse 18. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003627465e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x000000003627d38e in /usr/bin/clickhouse 20. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003627efb2 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:57.924387 [ 16613 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000035c924ba in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c5b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:57.935321 [ 16613 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:57.957478 [ 16575 ] {3476581d-6513-46ae-864f-74acfa2f15bb} StorageDistributed (dist_01555): Cannot flush: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? : While sending /var/lib/clickhouse/store/f2e/f2e1d6c8-88d2-45c4-9bc1-de2f294086d4/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000003dd70e72 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6bbb2 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000003dd76798 in /usr/bin/clickhouse 8. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd31e0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000003ddb5b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000003ddb66b9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb968b in /usr/bin/clickhouse 12. ./build_docker/./src/Common/PoolWithFailoverBase.h:0: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000003ddb7df8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000003ddb258b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000003cac266e in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000003cab2300 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000003cab1c66 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000003bba66ce in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageDistributed.cpp:1452: DB::StorageDistributed::flushAndPrepareForShutdown() @ 0x000000003bba5954 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/IStorage.h:566: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x00000000396486b4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:22:58.280561 [ 9424 ] {6b9b583f-c548-44c9-9ced-65d985cc622c} executeQuery: Code: 36. DB::Exception: Frame start offset for 'ROWS' frame must be a nonnegative 32-bit integer, '2147483648' of type 'UInt64' given. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- -INT_MIN row offset that can lead to problems with negation, found when fuzzing -- under UBSan. Should be limited to at most INT_MAX. select count() over (rows between 2147483648 preceding and 2147493648 following) from numbers(2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:58.285160 [ 9424 ] {6b9b583f-c548-44c9-9ced-65d985cc622c} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'ROWS' frame must be a nonnegative 32-bit integer, '2147483648' of type 'UInt64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x000000003a85c466 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:100: DB::WindowFrame::checkValid() const @ 0x000000003a85b135 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397bb977 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:59.099948 [ 9424 ] {bdcb970c-7a24-4ee0-9ab6-12d81aa96b2e} executeQuery: Code: 36. DB::Exception: Derived window definition 'w PARTITION BY number' is not allowed to override PARTITION BY. In scope SELECT count() OVER (w PARTITION BY number) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- can't redefine PARTITION BY select count() over (w partition by number) from numbers(1) window w as (partition by intDiv(number, 5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2078: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039760608 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ba56f in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:59.109843 [ 9424 ] {bdcb970c-7a24-4ee0-9ab6-12d81aa96b2e} TCPHandler: Code: 36. DB::Exception: Derived window definition 'w PARTITION BY number' is not allowed to override PARTITION BY. In scope SELECT count() OVER (w PARTITION BY number) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2078: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039760608 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ba56f in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:59.643144 [ 9424 ] {945248ff-24bd-4851-84b1-56bd00465010} executeQuery: Code: 36. DB::Exception: Derived window definition 'w ORDER BY number ASC' is not allowed to override a non-empty ORDER BY. In scope SELECT count() OVER (w ORDER BY number ASC) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- can't redefine existing ORDER BY select count() over (w order by number) from numbers(1) window w as (partition by intDiv(number, 5) order by mod(number, 3));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2086: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039760ad4 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ba56f in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:22:59.651018 [ 9424 ] {945248ff-24bd-4851-84b1-56bd00465010} TCPHandler: Code: 36. DB::Exception: Derived window definition 'w ORDER BY number ASC' is not allowed to override a non-empty ORDER BY. In scope SELECT count() OVER (w ORDER BY number ASC) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2086: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039760ad4 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ba56f in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:00.167260 [ 9424 ] {a2971f29-d17e-4ec1-b2ea-cc1cc653a166} executeQuery: Code: 36. DB::Exception: Parent window 'w' is not allowed to define a frame: while processing derived window definition 'w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW'. In scope SELECT count() OVER (w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- parent window can't have frame select count() over (w range unbounded preceding) from numbers(1) window w as (partition by intDiv(number, 5) order by mod(number, 3) rows unbounded preceding);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2094: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039760872 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ba56f in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:00.173453 [ 9424 ] {a2971f29-d17e-4ec1-b2ea-cc1cc653a166} TCPHandler: Code: 36. DB::Exception: Parent window 'w' is not allowed to define a frame: while processing derived window definition 'w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW'. In scope SELECT count() OVER (w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2094: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039760872 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ba56f in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:00.671703 [ 9424 ] {f4c6505f-2e1d-4ccf-b5a7-648c3429ccc8} executeQuery: Code: 36. DB::Exception: Window 'w2' does not exists. In scope SELECT count() OVER (w2 ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01591_window_functions.sql) (in query: -- nonexistent parent window select count() over (w2 rows unbounded preceding);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x000000000f02f975 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4319: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397c002f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:00.673278 [ 9424 ] {f4c6505f-2e1d-4ccf-b5a7-648c3429ccc8} TCPHandler: Code: 36. DB::Exception: Window 'w2' does not exists. In scope SELECT count() OVER (w2 ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x000000000f02f975 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4319: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397c002f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5017: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003979e517 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:01.632951 [ 16742 ] {85d67b4a-617a-41a4-ad91-545013f552f1} executeQuery: Code: 27. DB::Exception: Cannot read input: expected a digit but got something else: While processing toModifiedJulianDay('unparsable'). (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47908) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('unparsable');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::readDigit(DB::ReadBuffer&) @ 0x000000000c5ae302 in /usr/bin/clickhouse 4. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x000000000c5ad1e9 in /usr/bin/clickhouse 5. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x000000000c5b03c1 in /usr/bin/clickhouse 6. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1effbc in /usr/bin/clickhouse 7. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:23:01.634871 [ 16742 ] {85d67b4a-617a-41a4-ad91-545013f552f1} TCPHandler: Code: 27. DB::Exception: Cannot read input: expected a digit but got something else: While processing toModifiedJulianDay('unparsable'). (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::readDigit(DB::ReadBuffer&) @ 0x000000000c5ae302 in /usr/bin/clickhouse 4. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x000000000c5ad1e9 in /usr/bin/clickhouse 5. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x000000000c5b03c1 in /usr/bin/clickhouse 6. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1effbc in /usr/bin/clickhouse 7. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:23:02.208507 [ 16742 ] {3ac8f5d4-3e95-407d-8636-aff36d030c04} executeQuery: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-02-29'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47908) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('1999-02-29');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x000000000c5b7937 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x000000000c5adb9c in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x000000000c5b03c1 in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1effbc in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:23:02.211012 [ 16742 ] {3ac8f5d4-3e95-407d-8636-aff36d030c04} TCPHandler: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-02-29'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x000000000c5b7937 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x000000000c5adb9c in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x000000000c5b03c1 in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1effbc in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:23:02.236146 [ 16742 ] {e1c428f7-8e45-4190-af84-ce52c381c525} executeQuery: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-13-32'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47908) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('1999-13-32');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x000000000c5b7937 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x000000000c5adb9c in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x000000000c5b03c1 in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1effbc in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:23:02.237988 [ 16742 ] {e1c428f7-8e45-4190-af84-ce52c381c525} TCPHandler: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-13-32'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x000000000c5b7937 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x000000000c5adb9c in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x000000000c5b03c1 in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d1effbc in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:23:05.059835 [ 17248 ] {ce2135c6-cee1-4d03-9dd7-0b1856b61e38} executeQuery: Code: 6. DB::Exception: Cannot parse force_data_skipping_indices (''). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:916: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e9b42 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.061812 [ 17248 ] {ce2135c6-cee1-4d03-9dd7-0b1856b61e38} TCPHandler: Code: 6. DB::Exception: Cannot parse force_data_skipping_indices (''). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:916: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e9b42 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.092318 [ 17248 ] {93186a8b-1cad-4da2-9e8d-2b6d124b0a03} executeQuery: Code: 277. DB::Exception: Index `d1_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.093928 [ 17248 ] {93186a8b-1cad-4da2-9e8d-2b6d124b0a03} TCPHandler: Code: 277. DB::Exception: Index `d1_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.124502 [ 17248 ] {2190c867-f440-433d-ae76-773a41945322} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.126318 [ 17248 ] {2190c867-f440-433d-ae76-773a41945322} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.419567 [ 17248 ] {d90183a9-1099-4137-9edf-2e9c3a449835} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_idx,d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.421353 [ 17248 ] {d90183a9-1099-4137-9edf-2e9c3a449835} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.471493 [ 17248 ] {79fc8c3e-40d3-4713-90a0-dc26104e7a5d} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.473743 [ 17248 ] {79fc8c3e-40d3-4713-90a0-dc26104e7a5d} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.527023 [ 17248 ] {7b9094c5-e82e-48f3-9c9c-7115aa4bd01c} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx,d1_idx,,';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.534345 [ 17248 ] {7b9094c5-e82e-48f3-9c9c-7115aa4bd01c} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.579656 [ 17248 ] {449598cd-5870-4917-b086-80032014138d} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' d1_null_idx,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.581433 [ 17248 ] {449598cd-5870-4917-b086-80032014138d} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.627545 [ 17248 ] {ab921863-d476-46b3-8eb7-1174ba930dca} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' `d1_null_idx`,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.629492 [ 17248 ] {ab921863-d476-46b3-8eb7-1174ba930dca} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.676318 [ 17248 ] {b906f9fd-3c3f-4a25-ad72-752e20a97734} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.678268 [ 17248 ] {b906f9fd-3c3f-4a25-ad72-752e20a97734} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.723210 [ 17248 ] {d54ac137-b088-497d-9480-4c95b4778c2c} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' d1_null_idx ';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.725134 [ 17248 ] {d54ac137-b088-497d-9480-4c95b4778c2c} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.768634 [ 17248 ] {5d301ad7-afbe-4d72-b537-2f2c90234373} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55610) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1_null = 0 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:05.770587 [ 17248 ] {5d301ad7-afbe-4d72-b537-2f2c90234373} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000003d1e99a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1de294 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1d1a1f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1d0af0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1ea528 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f13af in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:12.236396 [ 670 ] {45d25fc2-54a5-486d-95f7-46ed3e19b370} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46552) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if((shardNum() AS `_shard_num`) = 2, 100000, 1))), `number` % 100000 AS `k` FROM `system`.`numbers` GROUP BY `k` LIMIT 10000000.), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000022772cac in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:515: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000227e5d42 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:477: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000227e8b18 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003833f9f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038058d57 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddb3a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:12.377292 [ 670 ] {45d25fc2-54a5-486d-95f7-46ed3e19b370} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000022772cac in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:515: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000227e5d42 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:477: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000227e8b18 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003833f9f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038058d57 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddb3a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:12.661937 [ 16575 ] {63ce40b0-71e2-49c5-bfed-8a3c8bfeb375} executeQuery: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000022772cac in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:515: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000227e5d42 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:477: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000227e8b18 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003833f9f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038058d57 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddb3a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55650) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if(_shard_num == 2, 100000, 1))), number%100000 k from remote('127.{2,3}', system.numbers) GROUP BY k LIMIT 10e6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:23:12.669069 [ 2794 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37996). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:23:12.672107 [ 16575 ] {63ce40b0-71e2-49c5-bfed-8a3c8bfeb375} TCPHandler: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000022772cac in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:515: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000227e5d42 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:477: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000227e8b18 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003833f9f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038058d57 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddb3a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:23:14.083432 [ 1129 ] {19e7cccc-953c-4bda-8485-ee84742853b7} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38996) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1143: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ed55 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.085392 [ 1129 ] {19e7cccc-953c-4bda-8485-ee84742853b7} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1143: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ed55 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.383872 [ 1129 ] {aa4870ba-f151-4f60-96f7-e90ac8230fec} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38996) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1150: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f3a0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.385487 [ 1129 ] {aa4870ba-f151-4f60-96f7-e90ac8230fec} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1150: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f3a0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.680180 [ 1129 ] {653c0eb4-5f4d-4fcf-ac68-f94b746bf7ce} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38996) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1136: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e70b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.681862 [ 1129 ] {653c0eb4-5f4d-4fcf-ac68-f94b746bf7ce} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1136: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e70b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.696391 [ 1129 ] {0f4210f5-f0bc-4956-bec7-0cb9afe6953d} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38996) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1150: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f3a0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.697933 [ 1129 ] {0f4210f5-f0bc-4956-bec7-0cb9afe6953d} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1150: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f3a0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.712340 [ 1129 ] {de1e5579-beaa-42e8-8f79-85dc4a10d6d9} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38996) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1136: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e70b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.713932 [ 1129 ] {de1e5579-beaa-42e8-8f79-85dc4a10d6d9} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1136: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e70b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.726554 [ 1129 ] {d50ea6d9-00b6-4812-853b-b0e97c037168} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38996) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1143: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ed55 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:14.728193 [ 1129 ] {d50ea6d9-00b6-4812-853b-b0e97c037168} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1143: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ed55 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:15.997612 [ 16575 ] {c68b36fc-09cb-4dbe-a2d3-bb8e15f1ecfd} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: -- just nothing happened ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1179: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ce7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:16.000123 [ 16575 ] {c68b36fc-09cb-4dbe-a2d3-bb8e15f1ecfd} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1179: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ce7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:16.310315 [ 16575 ] {cb820ac1-3f3e-4eb0-93f6-fa2e0bc5975d} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1191: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d11a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:16.313219 [ 16575 ] {cb820ac1-3f3e-4eb0-93f6-fa2e0bc5975d} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1191: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d11a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:16.632034 [ 16575 ] {8a19a9fb-3ba1-4c87-98c8-8348953ec6eb} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1185: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d568 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:16.638799 [ 16575 ] {8a19a9fb-3ba1-4c87-98c8-8348953ec6eb} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1185: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d568 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:16.952783 [ 16575 ] {f97d57d4-66f5-4f72-a30d-e8d3e3cf1d54} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1203: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e367 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:17.017439 [ 16575 ] {f97d57d4-66f5-4f72-a30d-e8d3e3cf1d54} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1203: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e367 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:17.336820 [ 16575 ] {e18f071c-464c-4e09-bbb6-ddefd3606ab5} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1208: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92effa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:17.368976 [ 16575 ] {e18f071c-464c-4e09-bbb6-ddefd3606ab5} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1208: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92effa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:17.715831 [ 16575 ] {5ec9b70a-1424-4557-905f-189ff3b5d5c5} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1198: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e9ae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:17.728475 [ 16575 ] {5ec9b70a-1424-4557-905f-189ff3b5d5c5} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1198: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e9ae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.049176 [ 16575 ] {77e67465-5ce7-441a-847f-37b236083075} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1339: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92babb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.053335 [ 16575 ] {77e67465-5ce7-441a-847f-37b236083075} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1339: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92babb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.722695 [ 7071 ] {0a1f994f-a74d-4aff-9f8b-a344f4907910} executeQuery: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id). (WRONG_GLOBAL_SUBQUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39106) (comment: 01474_bad_global_join.sql) (in query: SELECT uniq(d.val) FROM dist_table AS d GLOBAL LEFT JOIN numbers(100) AS t USING id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000a75fd57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000037d227dc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:262: DB::GlobalSubqueriesMatcher::visit(DB::ASTTablesInSelectQueryElement&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000037d1c1ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000037d19d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252e4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000037c98e8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:187: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c9750c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.745787 [ 16575 ] {57e3534b-fe33-479a-8849-ec2fdc625b32} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1179: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ce7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.747825 [ 7071 ] {0a1f994f-a74d-4aff-9f8b-a344f4907910} TCPHandler: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id). (WRONG_GLOBAL_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000a75fd57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000037d227dc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:262: DB::GlobalSubqueriesMatcher::visit(DB::ASTTablesInSelectQueryElement&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000037d1c1ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000037d19d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252e4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000037d252d6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000037c98e8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:187: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c9750c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.754412 [ 16575 ] {57e3534b-fe33-479a-8849-ec2fdc625b32} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1179: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92ce7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.775059 [ 16575 ] {7329f9ec-0022-4b0d-a65d-83f83aacb84f} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1191: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d11a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.779450 [ 16575 ] {7329f9ec-0022-4b0d-a65d-83f83aacb84f} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1191: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d11a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.799603 [ 16575 ] {823e59f0-70f8-4d85-9bf9-09c8a05253a1} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1185: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d568 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.802168 [ 16575 ] {823e59f0-70f8-4d85-9bf9-09c8a05253a1} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1185: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92d568 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.833613 [ 16575 ] {eb19b90f-86c6-4436-be98-371e822184f0} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1203: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e367 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.840822 [ 16575 ] {eb19b90f-86c6-4436-be98-371e822184f0} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1203: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e367 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.870203 [ 16575 ] {b5e5d247-6bef-46d0-90c2-2a7723a5621a} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1208: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92effa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.878932 [ 16575 ] {b5e5d247-6bef-46d0-90c2-2a7723a5621a} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1208: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92effa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.925265 [ 16575 ] {56cd06e6-9654-4f22-9936-e535de27d3ae} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1198: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e9ae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.930628 [ 16575 ] {56cd06e6-9654-4f22-9936-e535de27d3ae} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1198: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e9ae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.952604 [ 16575 ] {95e7e351-00ff-4bad-9384-3240a65567c1} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1339: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92babb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.956293 [ 16575 ] {95e7e351-00ff-4bad-9384-3240a65567c1} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1339: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92babb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.996768 [ 16575 ] {6743e6f5-2b9c-439a-a279-9e79969c8e5d} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ttl;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1198: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e9ae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:18.998354 [ 16575 ] {6743e6f5-2b9c-439a-a279-9e79969c8e5d} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1198: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92e9ae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:19.014093 [ 16575 ] {9ad5d6fc-7e68-4d15-9dad-d03d6d94c319} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39040) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table remove TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1339: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92babb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:19.030148 [ 16575 ] {9ad5d6fc-7e68-4d15-9dad-d03d6d94c319} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1339: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92babb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:20.373270 [ 16669 ] {385b552c-81d4-4fd2-9ebb-1e0c65e5653e} executeQuery: Code: 48. DB::Exception: Alter of type 'ADD_COLUMN' is not supported by storage SystemNumbers. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39148) (comment: 01461_alter_table_function.sql) (in query: ALTER TABLE table_from_numbers ADD COLUMN col UInt8;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x00000000359aa6f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:203: DB::IStorage::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ba2a20f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:20.375835 [ 16669 ] {385b552c-81d4-4fd2-9ebb-1e0c65e5653e} TCPHandler: Code: 48. DB::Exception: Alter of type 'ADD_COLUMN' is not supported by storage SystemNumbers. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x00000000359aa6f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:203: DB::IStorage::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ba2a20f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:21.855597 [ 7430 ] {8380667c-f080-48dc-8f40-1c4a99d46185} executeQuery: Code: 36. DB::Exception: Default codec cannot have any arguments, it's just an alias for codec specified in config.xml. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39188) (comment: 01455_default_compression.sql) (in query: ALTER TABLE compress_table MODIFY COLUMN value2 CODEC(Default(5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963cf81 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92279f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:21.859373 [ 7430 ] {8380667c-f080-48dc-8f40-1c4a99d46185} TCPHandler: Code: 36. DB::Exception: Default codec cannot have any arguments, it's just an alias for codec specified in config.xml. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963cf81 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92279f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:25.077123 [ 17371 ] {881a3e16-0d6e-4a8d-b412-55cfac4391d6} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -256, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing ignore(lcm(-256, 9223372036854775807)). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34046) (comment: 01435_lcm_overflow.sql) (in query: SELECT ignore(lcm(-256, 9223372036854775807));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x0000000010f47df4 in /usr/bin/clickhouse 3. long DB::GCDLCMImpl, DB::(anonymous namespace)::NameLCM>::apply(short, unsigned long) @ 0x0000000015205cab in /usr/bin/clickhouse 4. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000153500c4 in /usr/bin/clickhouse 5. bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000015258ea3 in /usr/bin/clickhouse 6. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000015250115 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001524dede in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015249ee5 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:23:25.079056 [ 17371 ] {881a3e16-0d6e-4a8d-b412-55cfac4391d6} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -256, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing ignore(lcm(-256, 9223372036854775807)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x0000000010f47df4 in /usr/bin/clickhouse 3. long DB::GCDLCMImpl, DB::(anonymous namespace)::NameLCM>::apply(short, unsigned long) @ 0x0000000015205cab in /usr/bin/clickhouse 4. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000153500c4 in /usr/bin/clickhouse 5. bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000015258ea3 in /usr/bin/clickhouse 6. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000015250115 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001524dede in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015249ee5 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:23:28.159116 [ 17371 ] {f386935b-4092-4b80-8a3a-4cf79b739441} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34182) (comment: 01422_map_skip_null.sql) (in query: select minMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000002af072f0 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fdf6a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:28.160868 [ 17371 ] {f386935b-4092-4b80-8a3a-4cf79b739441} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000002af072f0 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fdf6a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:28.185777 [ 17371 ] {ec80fab5-bc1f-4ec1-b2e7-c656e84d3c6d} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34182) (comment: 01422_map_skip_null.sql) (in query: select maxMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000002af072f0 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fdf6a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:28.187550 [ 17371 ] {ec80fab5-bc1f-4ec1-b2e7-c656e84d3c6d} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000002af072f0 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fdf6a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:28.212453 [ 17371 ] {f4695377-a46e-49de-8575-85e69924ff30} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34182) (comment: 01422_map_skip_null.sql) (in query: select sumMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000002af072f0 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fdf6a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:28.214284 [ 17371 ] {f4695377-a46e-49de-8575-85e69924ff30} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000002af072f0 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fdf6a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:29.338181 [ 17371 ] {8d4d4c69-78dc-4e1b-bc37-f2e73195c2b8} executeQuery: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34182) (comment: 01422_map_skip_null.sql) (in query: select sumMapWithOverflow(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x000000002804bc1f in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000002803ef02 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000002803c9c6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/Helpers.h:0: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002769126f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:29.340326 [ 17371 ] {8d4d4c69-78dc-4e1b-bc37-f2e73195c2b8} TCPHandler: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x000000002804bc1f in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000002803ef02 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000002803c9c6 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/Helpers.h:0: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002769126f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000021355d03 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352fe8f6 in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352f8ffd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca769b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:31.948271 [ 16645 ] {1382e349-9711-4f3a-8fc8-6eacd27beecf} executeQuery: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34316) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_e') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000003628aa38 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f8e3e9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f8d87b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f8d3fd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:23:32.533130 [ 16645 ] {1382e349-9711-4f3a-8fc8-6eacd27beecf} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000003628aa38 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f8e3e9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f8d87b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f8d3fd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:23:32.533228 [ 1077 ] {94faea4f-1a5d-464f-91ab-6a6e950195a1} executeQuery: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34218) (comment: 01420_format_row.gen.sql) (in query: -- unknown format select formatRow('aaa', *) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000010c244be in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8fa5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:23:32.539889 [ 1077 ] {94faea4f-1a5d-464f-91ab-6a6e950195a1} TCPHandler: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000010c244be in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8fa5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:23:33.020446 [ 16645 ] {785d0504-d6f3-4124-9004-b12f294e8d1a} executeQuery: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34316) (comment: 01418_custom_settings.sql) (in query: SET invalid_custom = 8;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:132: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a64cfd in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:649: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a61886 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17cbc in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d94cd4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:33.022856 [ 16645 ] {785d0504-d6f3-4124-9004-b12f294e8d1a} TCPHandler: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:132: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a64cfd in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:649: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a61886 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17cbc in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d94cd4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:33.641716 [ 16645 ] {23cca1ad-f750-473e-8fd3-928f0a625e35} executeQuery: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34316) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_f') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000003628aa38 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f8e3e9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f8d87b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f8d3fd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:23:33.659080 [ 16645 ] {23cca1ad-f750-473e-8fd3-928f0a625e35} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000003628aa38 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f8e3e9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f8d87b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f8d3fd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:23:33.740168 [ 917 ] {b9f3a4dd-cd69-4d38-9616-150a319080a9::20191002_2_2_0_3} MutatePlainMergeTreeTask: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:23:34.684128 [ 917 ] {b9f3a4dd-cd69-4d38-9616-150a319080a9::20191002_2_2_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:23:34.684225 [ 7071 ] {504b1925-5a79-455f-94e2-5daafde2bdbb} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part '20191002_2_2_0' reason: 'Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34468) (comment: 01414_mutations_and_errors.sql) (in query: ALTER TABLE mutation_table MODIFY COLUMN value UInt64 SETTINGS mutations_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da21ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:34.697225 [ 7071 ] {504b1925-5a79-455f-94e2-5daafde2bdbb} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part '20191002_2_2_0' reason: 'Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da21ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:35.083635 [ 920 ] {b9f3a4dd-cd69-4d38-9616-150a319080a9::20191002_2_2_0_3} MutatePlainMergeTreeTask: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:23:35.325002 [ 7071 ] {97b2e1c1-7383-40b6-9b0f-ab028fa87fad} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34468) (comment: 01414_mutations_and_errors.sql) (in query: SELECT distinct(value) FROM mutation_table ORDER BY value;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d5236f5 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 2024.12.17 03:23:35.329121 [ 920 ] {b9f3a4dd-cd69-4d38-9616-150a319080a9::20191002_2_2_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:23:35.330028 [ 7071 ] {97b2e1c1-7383-40b6-9b0f-ab028fa87fad} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b9f/b9f3a4dd-cd69-4d38-9616-150a319080a9/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d5236f5 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 2024.12.17 03:23:36.720535 [ 17867 ] {a436c14b-87b0-4093-afb6-dc4d7e6ca1d2} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value3` UInt64' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53294) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value3 UInt64;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.723075 [ 17867 ] {a436c14b-87b0-4093-afb6-dc4d7e6ca1d2} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value3` UInt64' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.746981 [ 17867 ] {e7212352-7f16-435f-a689-14e539c1c6db} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value1` UInt32' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53294) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value1 UInt32;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.749428 [ 17867 ] {e7212352-7f16-435f-a689-14e539c1c6db} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value1` UInt32' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.774180 [ 17867 ] {9fd9ffe7-a374-470a-997f-47d686b48e10} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value4` Date' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53294) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value4 Date;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.776832 [ 17867 ] {9fd9ffe7-a374-470a-997f-47d686b48e10} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value4` Date' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.798253 [ 17867 ] {d90fd734-6ea7-4b76-a5b1-43a9037da937} executeQuery: Code: 524. DB::Exception: The following alter commands: 'DROP COLUMN value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53294) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters DROP COLUMN value4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.800148 [ 17867 ] {d90fd734-6ea7-4b76-a5b1-43a9037da937} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'DROP COLUMN value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.823023 [ 17867 ] {edac3160-c9be-4c93-b81b-5cdd293ac0e5} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value2` Enum8('x' = 5, 'y' = 6)' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53294) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value2 Enum8('x' = 5, 'y' = 6);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.824798 [ 17867 ] {edac3160-c9be-4c93-b81b-5cdd293ac0e5} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value2` Enum8('x' = 5, 'y' = 6)' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.846079 [ 17867 ] {0879e8d9-477d-476a-9f37-aeef57432183} executeQuery: Code: 524. DB::Exception: The following alter commands: 'RENAME COLUMN value4 TO renamed_value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53294) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters RENAME COLUMN value4 TO renamed_value4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.847748 [ 17867 ] {0879e8d9-477d-476a-9f37-aeef57432183} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'RENAME COLUMN value4 TO renamed_value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.872371 [ 17867 ] {89a62dd5-7597-45a7-bb61-6e487515fec7} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MATERIALIZE TTL' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53294) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value3 UInt16 TTL value5 + INTERVAL 5 DAY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:36.874619 [ 17867 ] {89a62dd5-7597-45a7-bb61-6e487515fec7} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MATERIALIZE TTL' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3135: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedc695 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:38.867215 [ 16669 ] {f2b850bc-a7a4-4851-a8c0-50142c1e4b3f} executeQuery: Code: 43. DB::Exception: Unsupported value type at the right-side of IN: Nullable(Nothing).: While processing arrayFilter(a -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53370) (comment: 01407_lambda_arrayJoin.sql) (in query: SELECT * FROM system.one ARRAY JOIN arrayFilter((a) -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:306: auto DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr)::$_0::operator()>(std::shared_ptr const&) const @ 0x0000000037d73615 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/AllocatorWithMemoryTracking.h:37: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d3bee8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d59769 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:904: DB::SelectQueryExpressionAnalyzer::appendArrayJoin(DB::ExpressionActionsChain&, std::shared_ptr&, bool) @ 0x0000000037cb8c1e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce37b0 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:23:39.266895 [ 16669 ] {f2b850bc-a7a4-4851-a8c0-50142c1e4b3f} TCPHandler: Code: 43. DB::Exception: Unsupported value type at the right-side of IN: Nullable(Nothing).: While processing arrayFilter(a -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:306: auto DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr)::$_0::operator()>(std::shared_ptr const&) const @ 0x0000000037d73615 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/AllocatorWithMemoryTracking.h:37: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d3bee8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d59769 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:904: DB::SelectQueryExpressionAnalyzer::appendArrayJoin(DB::ExpressionActionsChain&, std::shared_ptr&, bool) @ 0x0000000037cb8c1e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce37b0 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:23:39.266941 [ 17509 ] {9fa1f21e-823d-4497-b781-9f266fdde9be} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53400) (comment: 01397_in_bad_arguments.sql) (in query: select in((1, 1, 1, 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:39.268661 [ 17509 ] {9fa1f21e-823d-4497-b781-9f266fdde9be} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:39.282932 [ 17509 ] {662ddd09-3348-4506-961c-7dc7d9ea8a86} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53400) (comment: 01397_in_bad_arguments.sql) (in query: select in(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:39.284798 [ 17509 ] {662ddd09-3348-4506-961c-7dc7d9ea8a86} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:39.297164 [ 17509 ] {b0d7a8f8-dcc3-4536-8cca-3571b38e9844} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53400) (comment: 01397_in_bad_arguments.sql) (in query: select in();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:39.298823 [ 17509 ] {b0d7a8f8-dcc3-4536-8cca-3571b38e9844} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:39.310236 [ 17509 ] {31aaa551-795f-4936-9625-0f2c809de868} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 3. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53400) (comment: 01397_in_bad_arguments.sql) (in query: select in(1, 2, 3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:39.311767 [ 17509 ] {31aaa551-795f-4936-9625-0f2c809de868} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 3. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b40ce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:33: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1f37 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1d7a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:52: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b2e49 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x00000000377b1c60 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b204b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:40.359959 [ 16757 ] {8c15b9a5-5498-4f99-8963-97135d390511} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53472) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Delta, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 59234, min_bytes_for_wide_part = 257270885, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 846, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 5314826, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 73094, primary_key_compress_block_size = 38322), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:185: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368e92ee in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:40.928171 [ 16757 ] {8c15b9a5-5498-4f99-8963-97135d390511} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:185: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368e92ee in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:40.928275 [ 8849 ] {80b28e8a-ac5b-4a30-b6f0-41e162a0992b} executeQuery: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53532) (comment: 01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS.sql) (in query: SELECT dictGetString(concat('default', '.countryId'), 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x0000000038cb51bb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x0000000038cb619c in /usr/bin/clickhouse 5. DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000ae6111f in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ae50c76 in /usr/bin/clickhouse 7. DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aeb3712 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 14. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeAggregation(DB::QueryPlan&, std::shared_ptr const&, bool, bool, std::shared_ptr) @ 0x0000000039b71d68 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b545c4 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:40.930109 [ 8849 ] {80b28e8a-ac5b-4a30-b6f0-41e162a0992b} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x0000000038cb51bb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x0000000038cb619c in /usr/bin/clickhouse 5. DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000ae6111f in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ae50c76 in /usr/bin/clickhouse 7. DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aeb3712 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 14. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeAggregation(DB::QueryPlan&, std::shared_ptr const&, bool, bool, std::shared_ptr) @ 0x0000000039b71d68 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b545c4 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:41.337729 [ 16757 ] {3d9a3082-48cf-4680-9885-7e6e70c98a7d} executeQuery: Code: 36. DB::Exception: Codec DoubleDelta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53472) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(DoubleDelta, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 59234, min_bytes_for_wide_part = 257270885, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 846, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 5314826, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 73094, primary_key_compress_block_size = 38322), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:449: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369a150e in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:41.737420 [ 16757 ] {3d9a3082-48cf-4680-9885-7e6e70c98a7d} TCPHandler: Code: 36. DB::Exception: Codec DoubleDelta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:449: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369a150e in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:41.737485 [ 9400 ] {2a120d9b-9d75-488b-b4cf-0809bf35cf4a} executeQuery: Code: 62. DB::Exception: Invalid qualified name: a. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53564) (comment: 01372_remote_table_function_empty_table.sql) (in query: SELECT * FROM remote('127..2', 'a.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::QualifiedTableName::parseFromString(String const&) @ 0x000000000a754a46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349dc642 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:41.739158 [ 9400 ] {2a120d9b-9d75-488b-b4cf-0809bf35cf4a} TCPHandler: Code: 62. DB::Exception: Invalid qualified name: a. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::QualifiedTableName::parseFromString(String const&) @ 0x000000000a754a46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000349dc642 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035329ec6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378aa966 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:42.151549 [ 16757 ] {f755eb6b-6cd1-4425-a22d-bfd733fae2b6} executeQuery: Code: 36. DB::Exception: Codec Gorilla is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53472) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Gorilla, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 59234, min_bytes_for_wide_part = 257270885, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 846, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 5314826, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 73094, primary_key_compress_block_size = 38322), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:350: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369b128e in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:42.153816 [ 16757 ] {f755eb6b-6cd1-4425-a22d-bfd733fae2b6} TCPHandler: Code: 36. DB::Exception: Codec Gorilla is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:350: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369b128e in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:42.557365 [ 16757 ] {6b0969d6-ebcf-4ae6-8814-4fcdacaa6d93} executeQuery: Code: 433. DB::Exception: Argument value for DoubleDelta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53472) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` UInt64 CODEC(DoubleDelta(3), ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 59234, min_bytes_for_wide_part = 257270885, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 846, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 5314826, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 73094, primary_key_compress_block_size = 38322), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:566: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369a141c in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:42.559379 [ 16757 ] {6b0969d6-ebcf-4ae6-8814-4fcdacaa6d93} TCPHandler: Code: 433. DB::Exception: Argument value for DoubleDelta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:566: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369a141c in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:42.979054 [ 16757 ] {b5650833-b4aa-47fc-8a50-ac01a7b3d5f3} executeQuery: Code: 433. DB::Exception: Gorilla codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53472) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` UInt64 CODEC(Gorilla('hello, world'), ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 59234, min_bytes_for_wide_part = 257270885, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 846, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 5314826, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 73094, primary_key_compress_block_size = 38322), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000a75fd57 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:468: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369b0a5d in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:42.981696 [ 16757 ] {b5650833-b4aa-47fc-8a50-ac01a7b3d5f3} TCPHandler: Code: 433. DB::Exception: Gorilla codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000a75fd57 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:468: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000369b0a5d in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:44.129714 [ 670 ] {167fa7c6-58f6-4ad8-abe3-a2c74cdc00a9} executeQuery: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46042) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 PREWHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1180: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccc6d2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce2302 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:44.132932 [ 670 ] {167fa7c6-58f6-4ad8-abe3-a2c74cdc00a9} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1180: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccc6d2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce2302 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:44.577992 [ 670 ] {6955ab62-d9b0-4b15-92fe-f3ccb7133382} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46042) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 WHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes settings optimize_move_to_prewhere=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccdf90 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:44.580406 [ 670 ] {6955ab62-d9b0-4b15-92fe-f3ccb7133382} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccdf90 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:45.264674 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:45.982352 [ 1131 ] {6fc6be6d-2f34-4e93-a843-1cd641927ba3} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 3) to type Enum8('hello' = 1, 'world' = 2) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum('hello' = 1, 'world' = 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:45.984096 [ 1131 ] {6fc6be6d-2f34-4e93-a843-1cd641927ba3} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 3) to type Enum8('hello' = 1, 'world' = 2) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:46.115495 [ 1131 ] {f8b69451-4a62-4356-9ad7-49e2a8564be6} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'test' = 3) to type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 4) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum('hello' = 1, 'world' = 2, 'goodbye' = 4);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:46.117149 [ 1131 ] {f8b69451-4a62-4356-9ad7-49e2a8564be6} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'test' = 3) to type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 4) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:46.828484 [ 1077 ] {48217474-220b-41a5-83ff-f74b63abdf87} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '(' at end of stream.: while converting '' to Tuple(UInt8): While processing tuple(1) < ''. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46168) (comment: 01329_compare_tuple_string_constant.sql) (in query: SELECT tuple(1) < '';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000037020c84 in /usr/bin/clickhouse 5. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x00000000093c7a06 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e4c03 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 8. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015c1df53 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015bd4c70 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:23:46.828494 [ 1131 ] {4b9531a9-4537-47e6-998c-9641c00f2df5} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum8('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum8('' = 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:46.830252 [ 1077 ] {48217474-220b-41a5-83ff-f74b63abdf87} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '(' at end of stream.: while converting '' to Tuple(UInt8): While processing tuple(1) < ''. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000037020c84 in /usr/bin/clickhouse 5. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x00000000093c7a06 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e4c03 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 8. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015c1df53 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015bd4c70 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:23:46.830476 [ 1131 ] {4b9531a9-4537-47e6-998c-9641c00f2df5} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum8('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.266285 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:47.402685 [ 1131 ] {f369f6f9-eebd-470d-8fb8-4294f72de30e} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum16('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum16('' = 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.402809 [ 1077 ] {20f82871-8391-4f71-99f7-fb67cded417b} executeQuery: Code: 386. DB::Exception: There is no supertype for types Tuple(UInt8), String because some of them are Tuple and some of them are not. (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46168) (comment: 01329_compare_tuple_string_constant.sql) (in query: SELECT tuple(1) < materialize('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b0c2 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000015c20a7b in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015bd78f5 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 13. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.405357 [ 1131 ] {f369f6f9-eebd-470d-8fb8-4294f72de30e} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum16('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.405398 [ 1077 ] {20f82871-8391-4f71-99f7-fb67cded417b} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Tuple(UInt8), String because some of them are Tuple and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b0c2 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000015c20a7b in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000015bd78f5 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 13. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 29. ? @ 0x00007fe21c2faac3 in ? 30. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.455769 [ 1131 ] {4beeec20-1490-4ad4-831d-4da89e44114f} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type UInt64 is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x UInt64;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.458007 [ 1131 ] {4beeec20-1490-4ad4-831d-4da89e44114f} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type UInt64 is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.509370 [ 1131 ] {13b6bbf4-04cf-480f-868a-c02b771dd8a5} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type String is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.512413 [ 1131 ] {13b6bbf4-04cf-480f-868a-c02b771dd8a5} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type String is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.572960 [ 1131 ] {e9557de2-d076-45f4-b348-6e431ebda265} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Nullable(Int64) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Nullable(Int64);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.574763 [ 1131 ] {e9557de2-d076-45f4-b348-6e431ebda265} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Nullable(Int64) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3380: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cedca41 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.916857 [ 1131 ] {b67c1a00-9756-437c-a9db-3cdb86cd27cd} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key x column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test RENAME COLUMN x TO z;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceda7ad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.919351 [ 1131 ] {b67c1a00-9756-437c-a9db-3cdb86cd27cd} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key x column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceda7ad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.954782 [ 1131 ] {be22433a-fbf2-410c-a141-47b30fa9898b} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key y column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test RENAME COLUMN y TO z;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceda7ad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:47.956418 [ 1131 ] {be22433a-fbf2-410c-a141-47b30fa9898b} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key y column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceda7ad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:48.374075 [ 1131 ] {d0906699-60d1-48d0-91df-7a779438effb} executeQuery: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'x', required columns: 'x' 'x'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c969 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:48.376102 [ 1131 ] {d0906699-60d1-48d0-91df-7a779438effb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'x', required columns: 'x' 'x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c969 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:48.783078 [ 1131 ] {ec88562c-a1e4-40db-a03e-37807e12ee34} executeQuery: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'y', required columns: 'y' 'y'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46120) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test DROP COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c41d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:49.267213 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:49.338773 [ 1131 ] {ec88562c-a1e4-40db-a03e-37807e12ee34} TCPHandler: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'y', required columns: 'y' 'y'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c41d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:49.338879 [ 17751 ] {e9d1ec31-c00b-4f87-b7f7-509489314ece} executeQuery: Code: 43. DB::Exception: mapAdd only accepts maps: While processing mapAdd([1], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46280) (comment: 01318_map_add_map_subtract.sql) (in query: -- mapAdd select mapAdd([1], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcf2063 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:23:49.340813 [ 17751 ] {e9d1ec31-c00b-4f87-b7f7-509489314ece} TCPHandler: Code: 43. DB::Exception: mapAdd only accepts maps: While processing mapAdd([1], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcf2063 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:23:49.928823 [ 17751 ] {792db8ae-b89c-48ae-b0e6-c43b7a20e740} executeQuery: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(([1], [1])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46280) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1], [1]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcf1e69 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:23:49.930966 [ 17751 ] {792db8ae-b89c-48ae-b0e6-c43b7a20e740} TCPHandler: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(([1], [1])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcf1e69 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:23:50.519130 [ 17751 ] {c44f3819-0a7d-49fc-8b32-546015d5625c} executeQuery: Code: 43. DB::Exception: Expected same UInt8 type for all keys in mapAdd: While processing mapAdd(([1], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46280) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1], [1]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000001fe73d8b in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcedbe3 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:23:51.041997 [ 17751 ] {c44f3819-0a7d-49fc-8b32-546015d5625c} TCPHandler: Code: 43. DB::Exception: Expected same UInt8 type for all keys in mapAdd: While processing mapAdd(([1], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000001fe73d8b in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcedbe3 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:23:51.042092 [ 9424 ] {03661e0f-3923-46e2-82ab-f8f37d4b510a} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46362) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTimeBestEffort('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a34118 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a2c4ac in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ad67d52 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad63132 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:23:51.044362 [ 9424 ] {03661e0f-3923-46e2-82ab-f8f37d4b510a} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a34118 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a2c4ac in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ad67d52 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad63132 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:23:51.268063 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–4, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:51.634420 [ 17751 ] {7d571186-19b7-4a7c-9849-c4ac68a10fbe} executeQuery: Code: 43. DB::Exception: All value types in mapAdd should be promotable to UInt64, got Int64: While processing mapAdd(([toUInt64(1)], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46280) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toUInt64(1)], [1]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000001fe73fb8 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcedbe3 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:23:52.156355 [ 17751 ] {7d571186-19b7-4a7c-9849-c4ac68a10fbe} TCPHandler: Code: 43. DB::Exception: All value types in mapAdd should be promotable to UInt64, got Int64: While processing mapAdd(([toUInt64(1)], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000001fe73fb8 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcedbe3 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:23:52.156582 [ 9424 ] {99b7efc8-bc9d-4311-96b2-24cd82ac6f8b} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46362) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTime64BestEffort('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a34118 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a4c72f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000adb8236 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adb14a4 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:23:52.717013 [ 9424 ] {99b7efc8-bc9d-4311-96b2-24cd82ac6f8b} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a34118 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a4c72f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000adb8236 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adb14a4 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:23:52.717154 [ 8594 ] {7ee42dd1-efb6-421e-8077-5e4b90710d89} executeQuery: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: While processing 1 = '1.0'. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46412) (comment: 01311_comparison_with_constant_string.sql) (in query: -- it should work but it doesn't. SELECT 1 = '1.0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcf9ab3 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb0850 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:23:52.719380 [ 8594 ] {7ee42dd1-efb6-421e-8077-5e4b90710d89} TCPHandler: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: While processing 1 = '1.0'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcf9ab3 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb0850 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:23:53.251048 [ 17751 ] {18dd5496-f0d4-4989-b3a4-735b5716b75c} executeQuery: Code: 42. DB::Exception: Key and value array should have same amount of elements. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46280) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toUInt64(1), 2], [toInt32(1)]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fcebbdb in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:53.268892 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–5, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:53.821604 [ 9424 ] {4e9c6c0a-f7cc-4700-85bb-a94c19d9051c} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing toDateTime(''). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46362) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT toDateTime('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x00000000209ebc09 in /usr/bin/clickhouse 4. void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000009db30ee in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009db252e in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d5f255 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d57a55 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d55ee2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:23:54.365323 [ 17379 ] {0d129c6f-bdc2-4306-a88b-f4597559cd6e} executeQuery: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): While processing polygonAreaCartesian([]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46448) (comment: 01308_polygon_area.sql) (in query: SELECT polygonAreaCartesian([]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionPolygonArea>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b815636 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:23:54.926819 [ 8594 ] {4f96698e-f2cc-4743-999d-023f36c1cc80} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: While processing 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46412) (comment: 01311_comparison_with_constant_string.sql) (in query: SELECT 0 = '';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000009e5c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000020a1135a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:40: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x0000000036f9b180 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000036f9a7c4 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x00000000093c7a06 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e4c03 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcf9ab3 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb0850 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:23:54.926875 [ 17751 ] {18dd5496-f0d4-4989-b3a4-735b5716b75c} TCPHandler: Code: 42. DB::Exception: Key and value array should have same amount of elements. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fcebbdb in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:54.926948 [ 17379 ] {0d129c6f-bdc2-4306-a88b-f4597559cd6e} TCPHandler: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): While processing polygonAreaCartesian([]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionPolygonArea>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b815636 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:23:54.926988 [ 9424 ] {4e9c6c0a-f7cc-4700-85bb-a94c19d9051c} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing toDateTime(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x00000000209ebc09 in /usr/bin/clickhouse 4. void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000009db30ee in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000009db252e in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009d5f255 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d57a55 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009d55ee2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:23:54.928625 [ 8594 ] {4f96698e-f2cc-4743-999d-023f36c1cc80} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: While processing 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000009e5c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000020a1135a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:40: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x0000000036f9b180 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000036f9a7c4 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x00000000093c7a06 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e4c03 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcf9ab3 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb0850 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:23:55.269829 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–6, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:56.343442 [ 17751 ] {3191f0c3-8ad9-4d14-8eea-b47ef80195bd} executeQuery: Code: 43. DB::Exception: Illegal column type Float32 for keys in arguments of function mapAdd: While processing mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46280) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fcec063 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:23:56.345783 [ 17751 ] {3191f0c3-8ad9-4d14-8eea-b47ef80195bd} TCPHandler: Code: 43. DB::Exception: Illegal column type Float32 for keys in arguments of function mapAdd: While processing mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fcec063 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:23:56.944331 [ 17751 ] {b6c09d3d-1455-41f1-9dcf-ee5e4bc7356e} executeQuery: Code: 43. DB::Exception: All value types in mapAdd should be either or float or integer: While processing mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46280) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000001fe73a16 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcedbe3 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:23:56.946757 [ 17751 ] {b6c09d3d-1455-41f1-9dcf-ee5e4bc7356e} TCPHandler: Code: 43. DB::Exception: All value types in mapAdd should be either or float or integer: While processing mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000001fe73a16 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001fcedbe3 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:23:57.270806 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–7, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:57.499352 [ 16613 ] {c69fbe9f-c598-4cb8-af5c-6b2899463b91} executeQuery: Code: 433. DB::Exception: Delta codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34368) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE delta_table (`id` UInt64 CODEC(Delta(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 42218, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 5088, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 195225, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7989568574, index_granularity_bytes = 28897216, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 8306, primary_key_compress_block_size = 70527), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:207: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368e8abd in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:57.501701 [ 16613 ] {c69fbe9f-c598-4cb8-af5c-6b2899463b91} TCPHandler: Code: 433. DB::Exception: Delta codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000a757157 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:207: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368e8abd in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:57.928007 [ 16613 ] {a3c3f936-4475-4cfd-bb47-503a6cb1221a} executeQuery: Code: 433. DB::Exception: ZSTD codec argument must be integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34368) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE zstd_table (`id` UInt64 CODEC(ZSTD(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 42218, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 5088, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 195225, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7989568574, index_granularity_bytes = 28897216, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 8306, primary_key_compress_block_size = 70527), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecZSTD.cpp:124: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000368ddb40 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368cb1f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:57.929975 [ 16613 ] {a3c3f936-4475-4cfd-bb47-503a6cb1221a} TCPHandler: Code: 433. DB::Exception: ZSTD codec argument must be integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecZSTD.cpp:124: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000368ddb40 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368cb1f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:58.356113 [ 16613 ] {6a3ed0e2-ac56-4aa2-9e1e-a9a782a8ca31} executeQuery: Code: 433. DB::Exception: LZ4HC codec argument must be integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34368) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE lz4_table (`id` UInt64 CODEC(LZ4HC(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 42218, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 5088, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 195225, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7989568574, index_granularity_bytes = 28897216, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 8306, primary_key_compress_block_size = 70527), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000ca03d77 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecLZ4.cpp:134: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000368da327 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368cb1f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:58.358359 [ 16613 ] {6a3ed0e2-ac56-4aa2-9e1e-a9a782a8ca31} TCPHandler: Code: 433. DB::Exception: LZ4HC codec argument must be integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000ca03d77 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecLZ4.cpp:134: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000368da327 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368cb1f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:58.778438 [ 16613 ] {ce76b453-ed09-4ec3-9e36-17779f08e4e0} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34368) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE lz4_table (`id` UInt64 CODEC(LZ4(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 42218, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 5088, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 195225, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7989568574, index_granularity_bytes = 28897216, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 8306, primary_key_compress_block_size = 70527), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactory.cpp:160: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000368cbc65 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368cb1f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:58.781257 [ 16613 ] {ce76b453-ed09-4ec3-9e36-17779f08e4e0} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactory.cpp:160: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000368cbc65 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000368cb1f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:123: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x00000000368c7bbb in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003963ea12 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036eb4167 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036eb4ccf in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000003963a0a2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ae08f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:23:59.271637 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–8, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:23:59.861891 [ 17871 ] {7babc9b1-e25e-4c58-9f8b-471340376958} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34444) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT toIntervalSecond(now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:24:00.084400 [ 16742 ] {5b86925b-c543-4d74-ac7f-8ff6aff6fe35} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_pr7gg451.default_constraints (104866e2-6169-4ba2-805d-fb2fda02928a) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34464) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) SELECT number FROM system.numbers LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:00.084383 [ 17871 ] {7babc9b1-e25e-4c58-9f8b-471340376958} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:24:00.088267 [ 16742 ] {5b86925b-c543-4d74-ac7f-8ff6aff6fe35} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_pr7gg451.default_constraints (104866e2-6169-4ba2-805d-fb2fda02928a) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:00.689283 [ 16742 ] {a3a3ff5f-3413-4a0e-a436-415010e7d365} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_pr7gg451.default_constraints (104866e2-6169-4ba2-805d-fb2fda02928a) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34464) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:00.689326 [ 17871 ] {81121b82-1afd-40cc-a8d9-3036c079ae0d} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34444) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT CAST(now64() AS IntervalSecond);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 2024.12.17 03:24:00.691353 [ 17871 ] {81121b82-1afd-40cc-a8d9-3036c079ae0d} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 2024.12.17 03:24:00.691448 [ 16742 ] {a3a3ff5f-3413-4a0e-a436-415010e7d365} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_pr7gg451.default_constraints (104866e2-6169-4ba2-805d-fb2fda02928a) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:00.713261 [ 17871 ] {ba4e9426-a365-4111-9a49-34fabf5ab4c3} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34444) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT toIntervalSecond(now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:24:00.715281 [ 17871 ] {ba4e9426-a365-4111-9a49-34fabf5ab4c3} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:24:00.738734 [ 17871 ] {dcaaa738-dbee-4325-9948-5b4db87a4fe4} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34444) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT CAST(now64() AS IntervalSecond);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 2024.12.17 03:24:00.740625 [ 17871 ] {dcaaa738-dbee-4325-9948-5b4db87a4fe4} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000a0a7fec in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000a07a875 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a0704c2 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a06edc2 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2b6bc9 in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940d742 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 2024.12.17 03:24:00.915921 [ 16742 ] {89255379-1ad4-47f3-9f2c-7c2d304631c5} executeQuery: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_1be5c190-33da-4683-af88-dc49413387c6` (1be5c190-33da-4683-af88-dc49413387c6) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34464) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) SELECT number FROM system.numbers LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:00.919850 [ 16742 ] {89255379-1ad4-47f3-9f2c-7c2d304631c5} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_1be5c190-33da-4683-af88-dc49413387c6` (1be5c190-33da-4683-af88-dc49413387c6) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:00.958270 [ 16742 ] {04a9cc29-ecb4-4a4f-bec1-d9ae9f984762} executeQuery: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_1be5c190-33da-4683-af88-dc49413387c6` (1be5c190-33da-4683-af88-dc49413387c6) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34464) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:00.960558 [ 16742 ] {04a9cc29-ecb4-4a4f-bec1-d9ae9f984762} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_1be5c190-33da-4683-af88-dc49413387c6` (1be5c190-33da-4683-af88-dc49413387c6) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:01.272459 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–9, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:24:02.343551 [ 16742 ] {949d1ac5-791d-46f7-a34a-b0e74638a0df} executeQuery: Code: 43. DB::Exception: Second argument of function fuzzBits must be constant float: While processing fuzzBits(toString('string'), 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34550) (comment: 01284_fuzz_bits.sql) (in query: SELECT fuzzBits(toString('string'), 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010c86140 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:02.642287 [ 2794 ] {8cdd1ad4-ce07-4195-92b8-0c2a08bdddd1} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34562) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple RENAME COLUMN value1 TO value1_string, MODIFY COLUMN value1_string String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1122: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c03e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:02.642299 [ 16742 ] {949d1ac5-791d-46f7-a34a-b0e74638a0df} TCPHandler: Code: 43. DB::Exception: Second argument of function fuzzBits must be constant float: While processing fuzzBits(toString('string'), 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010c86140 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:02.644570 [ 2794 ] {8cdd1ad4-ce07-4195-92b8-0c2a08bdddd1} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1122: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c03e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:02.948455 [ 2794 ] {c915393d-8399-4225-8a15-751327eded59} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34562) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple MODIFY COLUMN value1 String, RENAME COLUMN value1 to value1_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1313: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c2de in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:03.273390 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} HedgedConnectionsFactory: Connection failed at try â„–10, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.12.17 03:24:03.512237 [ 2794 ] {c915393d-8399-4225-8a15-751327eded59} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1313: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c2de in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:03.512378 [ 16742 ] {52db3fec-d00f-4b54-8a30-74a49dea5664} executeQuery: Code: 69. DB::Exception: Second argument of function fuzzBits must be from `0.0` to `1.0`: While processing fuzzBits('string', -1.). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34550) (comment: 01284_fuzz_bits.sql) (in query: SELECT fuzzBits('string', -1.0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c85465 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:03.933990 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.43.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46034) (comment: 01361_fover_remote_num_tries.sh) (in query: SELECT hostName() FROM remote('128.1.2.3', default.tmp)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000003c59a1aa in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593b32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:04.517670 [ 16742 ] {52db3fec-d00f-4b54-8a30-74a49dea5664} TCPHandler: Code: 69. DB::Exception: Second argument of function fuzzBits must be from `0.0` to `1.0`: While processing fuzzBits('string', -1.). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c85465 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:04.517677 [ 16645 ] {ef268805-5c6b-4ef3-98d0-7e1ecee79254} executeQuery: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: While processing randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33350) (comment: 01278_random_string_utf8.sql) (in query: SELECT randomStringUTF8('string');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ca7ace1 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:04.517756 [ 17509 ] {f7e747e9-6639-4a2b-9c45-31b544021b78} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.43.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000003c59a1aa in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593b32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:04.520064 [ 16645 ] {ef268805-5c6b-4ef3-98d0-7e1ecee79254} TCPHandler: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: While processing randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ca7ace1 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:05.744589 [ 2794 ] {696c94fb-da57-489b-9ec2-8b62b6fc9be4} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34562) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple_compact RENAME COLUMN value1 TO value1_string, MODIFY COLUMN value1_string String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1122: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c03e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:05.744589 [ 16645 ] {c8ea2bbe-842f-42ec-ae04-41d08ba6cb06} executeQuery: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString('string'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33404) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString('string');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ca6d680 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:05.744673 [ 16575 ] {82a0331a-d4d5-4726-8fd1-7a8c5e7d26fc} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: -- Error cases SELECT toUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:05.746462 [ 2794 ] {696c94fb-da57-489b-9ec2-8b62b6fc9be4} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1122: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c03e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:05.746463 [ 16575 ] {82a0331a-d4d5-4726-8fd1-7a8c5e7d26fc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:05.746537 [ 16645 ] {c8ea2bbe-842f-42ec-ae04-41d08ba6cb06} TCPHandler: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString('string'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ca6d680 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:05.765502 [ 2794 ] {429c140f-644a-45e8-a5f3-7fe634569269} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34562) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple_compact MODIFY COLUMN value1 String, RENAME COLUMN value1 to value1_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1313: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c2de in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:06.322313 [ 2794 ] {429c140f-644a-45e8-a5f3-7fe634569269} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1313: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92c2de in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:06.322389 [ 16645 ] {3f803f37-0c47-4e36-8b24-1b103e74b986} executeQuery: Code: 69. DB::Exception: FixedString size must be positive: While processing randomFixedString(0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33404) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString(0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a769237 in /usr/bin/clickhouse 3. DB::DataTypeFixedString::DataTypeFixedString(unsigned long) @ 0x000000000a99a11a in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, void>(std::allocator const&, unsigned long const&) @ 0x000000000a9dfc6f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ca6d2a0 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:06.322526 [ 16575 ] {e6aafea9-edc6-48fa-8440-ea89ed84b418} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:06.328244 [ 16645 ] {3f803f37-0c47-4e36-8b24-1b103e74b986} TCPHandler: Code: 69. DB::Exception: FixedString size must be positive: While processing randomFixedString(0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a769237 in /usr/bin/clickhouse 3. DB::DataTypeFixedString::DataTypeFixedString(unsigned long) @ 0x000000000a99a11a in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, void>(std::allocator const&, unsigned long const&) @ 0x000000000a9dfc6f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ca6d2a0 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:06.328591 [ 16575 ] {e6aafea9-edc6-48fa-8440-ea89ed84b418} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:06.910949 [ 16645 ] {23f497c5-97b5-40c0-b3a0-d2d45fd1d8dd} executeQuery: Code: 44. DB::Exception: First argument for function randomFixedString must be constant: While processing randomFixedString(rand() % 10). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33404) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString(rand() % 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ca6d4a8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:06.910949 [ 16575 ] {d51e9b41-785a-4e5b-807a-d0949fe23893} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:06.912742 [ 16645 ] {23f497c5-97b5-40c0-b3a0-d2d45fd1d8dd} TCPHandler: Code: 44. DB::Exception: First argument for function randomFixedString must be constant: While processing randomFixedString(rand() % 10). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ca6d4a8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:06.912761 [ 16575 ] {d51e9b41-785a-4e5b-807a-d0949fe23893} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:07.491655 [ 16575 ] {749abf8e-2d77-4bda-a6b8-dba47c1ae995} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Milli must be DateTime64: While processing toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d3099ee in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:07.493892 [ 16575 ] {749abf8e-2d77-4bda-a6b8-dba47c1ae995} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Milli must be DateTime64: While processing toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d3099ee in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:07.504369 [ 9402 ] {0f3c99bc-34f6-4339-968f-0bd9507e0bbc} executeQuery: Code: 469. DB::Exception: Constraint `cs_value2` for table test_wbrtej6t.table_for_rename (c18e9c0b-6908-432a-a420-759369f3b1d2) is violated at row 1. Expression: (toInt64(value2) < toInt64(value3)). Column values: value2 = '1', value3 = '0'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33472) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number + 1), toString(number) from numbers(9);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:07.508915 [ 9402 ] {0f3c99bc-34f6-4339-968f-0bd9507e0bbc} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value2` for table test_wbrtej6t.table_for_rename (c18e9c0b-6908-432a-a420-759369f3b1d2) is violated at row 1. Expression: (toInt64(value2) < toInt64(value3)). Column values: value2 = '1', value3 = '0'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:07.517908 [ 16575 ] {638027e2-1e73-4228-bd49-4d5fde7aaf6c} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Micro must be DateTime64: While processing toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d3099ee in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:07.520001 [ 16575 ] {638027e2-1e73-4228-bd49-4d5fde7aaf6c} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Micro must be DateTime64: While processing toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d3099ee in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:07.542105 [ 16575 ] {bd2f35bf-d8d4-406b-b78a-528fd752e362} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d3099ee in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:07.544238 [ 16575 ] {bd2f35bf-d8d4-406b-b78a-528fd752e362} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d3099ee in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 2024.12.17 03:24:07.567687 [ 16575 ] {acb52819-350e-4586-95f4-3403377db2b5} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:07.569422 [ 16575 ] {acb52819-350e-4586-95f4-3403377db2b5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:07.593020 [ 16575 ] {f52cb18d-97c0-46b6-9410-454ceba6a29f} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:07.595048 [ 16575 ] {f52cb18d-97c0-46b6-9410-454ceba6a29f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:07.617907 [ 16575 ] {f5701c30-34b3-42ca-a505-82f789106862} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33420) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:07.619791 [ 16575 ] {f5701c30-34b3-42ca-a505-82f789106862} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:08.449595 [ 9402 ] {04979f5f-1d4a-4e26-b800-7854dc4529b5} executeQuery: Code: 469. DB::Exception: Constraint `cs_value2` for table test_wbrtej6t.table_for_rename (c18e9c0b-6908-432a-a420-759369f3b1d2) is violated at row 1. Expression: (toInt64(value5) < toInt64(value3)). Column values: value5 = '11', value3 = '10'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33472) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number + 1), toString(number) from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:08.449843 [ 16971 ] {5d628bb3-2aa6-48b9-9766-eefc830364a7} executeQuery: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: While processing extractGroups('hello', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7cf5c in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:08.453046 [ 16971 ] {5d628bb3-2aa6-48b9-9766-eefc830364a7} TCPHandler: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: While processing extractGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7cf5c in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:08.453815 [ 9402 ] {04979f5f-1d4a-4e26-b800-7854dc4529b5} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value2` for table test_wbrtej6t.table_for_rename (c18e9c0b-6908-432a-a420-759369f3b1d2) is violated at row 1. Expression: (toInt64(value5) < toInt64(value3)). Column values: value5 = '11', value3 = '10'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:09.050921 [ 16971 ] {7727d04d-c8f9-4f58-9418-4c18dda5d60f} executeQuery: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: While processing extractAllGroups('hello', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000b5b9677 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78a3b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:09.050940 [ 16669 ] {59a9592f-fdc6-4ae6-931e-68586a7811c1} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 0, should be 2: While processing extractGroups(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33560) (comment: 01273_extractGroups.sql) (in query: -- error cases SELECT extractGroups();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:09.066879 [ 16669 ] {59a9592f-fdc6-4ae6-931e-68586a7811c1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 0, should be 2: While processing extractGroups(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:09.105803 [ 16971 ] {7727d04d-c8f9-4f58-9418-4c18dda5d60f} TCPHandler: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: While processing extractAllGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000b5b9677 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78a3b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:09.665361 [ 16669 ] {7dadde47-25d6-43f1-a491-978056b2775c} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33560) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:09.665361 [ 16971 ] {a945bb56-23a8-46bb-b15b-a816e0bc99bc} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', ' '). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d0e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:09.665394 [ 9402 ] {8f22695f-92b2-4d1f-b64f-47bc798792e7} executeQuery: Code: 469. DB::Exception: Constraint `cs_value1` for table test_wbrtej6t.table_for_rename (c18e9c0b-6908-432a-a420-759369f3b1d2) is violated at row 1. Expression: (toInt64(value1) < toInt64(value2)). Column values: value1 = '20', value2 = '20'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33472) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number), toString(number + 2) from numbers(20, 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:09.683780 [ 16971 ] {a945bb56-23a8-46bb-b15b-a816e0bc99bc} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d0e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:09.683789 [ 16669 ] {7dadde47-25d6-43f1-a491-978056b2775c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:09.685997 [ 9402 ] {8f22695f-92b2-4d1f-b64f-47bc798792e7} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value1` for table test_wbrtej6t.table_for_rename (c18e9c0b-6908-432a-a420-759369f3b1d2) is violated at row 1. Expression: (toInt64(value1) < toInt64(value2)). Column values: value1 = '20', value2 = '20'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:10.234029 [ 16971 ] {07caccfc-d72b-4981-8736-a05caa6ac721} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', ' '). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78bbf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:10.749547 [ 16971 ] {07caccfc-d72b-4981-8736-a05caa6ac721} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78bbf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:10.749740 [ 16669 ] {95a302f3-044d-4c7d-aaad-fe574d364fa7} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33560) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a7deb5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:10.752060 [ 16669 ] {95a302f3-044d-4c7d-aaad-fe574d364fa7} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a7deb5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:10.775776 [ 16971 ] {b69077f0-7635-4686-a3da-5625c876a83b} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', '\0'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d0e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:10.775775 [ 16669 ] {65eaa270-4188-4787-9a8e-946373173b67} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33560) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups(123, 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a7deb5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:10.777819 [ 16669 ] {65eaa270-4188-4787-9a8e-946373173b67} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a7deb5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:10.777835 [ 16971 ] {b69077f0-7635-4686-a3da-5625c876a83b} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d0e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.327575 [ 16669 ] {4efe96ff-3443-46cc-a0ca-57a046c5f7ec} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractGroups('hello world', '((('). (CANNOT_COMPILE_REGEXP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33560) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', '(((');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x00000000208a4399 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7b9de in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:24:11.327575 [ 16971 ] {68149e57-860f-4873-bfaf-44137de0614f} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', '\0'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78bbf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:11.336165 [ 16971 ] {68149e57-860f-4873-bfaf-44137de0614f} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78bbf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:11.336229 [ 16669 ] {4efe96ff-3443-46cc-a0ca-57a046c5f7ec} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractGroups('hello world', '((('). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x00000000208a4399 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7b9de in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:24:11.355708 [ 16669 ] {de7e7cfe-4d11-48f1-9255-1f3094a2e6b8} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got String: While processing extractGroups('hello world', materialize('\\w+')). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33560) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', materialize('\\w+'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a7deb5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.355718 [ 16971 ] {fffa9899-9f2f-4481-83ca-b8fa011a1c80} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractGroups('hello', 'world'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d0e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.357242 [ 16669 ] {de7e7cfe-4d11-48f1-9255-1f3094a2e6b8} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got String: While processing extractGroups('hello world', materialize('\\w+')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a7deb5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.357371 [ 16971 ] {fffa9899-9f2f-4481-83ca-b8fa011a1c80} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d0e0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.373713 [ 16971 ] {0659ce4a-9381-43b5-81b9-86e13eac2be8} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractAllGroups('hello', 'world'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78bbf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:11.375346 [ 16971 ] {0659ce4a-9381-43b5-81b9-86e13eac2be8} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractAllGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78bbf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:11.931130 [ 16971 ] {48a9ff5f-db34-4626-85ea-4e0e7c552c11} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d26a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.931130 [ 16669 ] {6845d050-ad5e-4cad-a3ee-431432fc9345} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractGroups('hello world', '\\w+'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33560) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', '\\w+');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d26a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.933137 [ 16669 ] {6845d050-ad5e-4cad-a3ee-431432fc9345} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractGroups('hello world', '\\w+'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d26a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:11.933243 [ 16971 ] {48a9ff5f-db34-4626-85ea-4e0e7c552c11} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7d26a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:12.469127 [ 16971 ] {7ff8453d-32a3-425c-b457-6d1fcaeab1cd} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78d4a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:12.470904 [ 16971 ] {7ff8453d-32a3-425c-b457-6d1fcaeab1cd} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78d4a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:13.354481 [ 16757 ] {9d1e8dd9-5bde-4690-9bff-65e814cd6142} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.82 MiB (attempt to allocate chunk of 1703936 bytes), maximum: 100.00 MiB.: while pushing to view test_oo0ny96w.mv_01278_9 (c5eb8873-f7de-48b3-b949-dcdc1611141a). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33646) (comment: 01278_min_insert_block_size_rows_for_materialized_views.sh) (in query: insert into data_01278 select number, reinterpretAsString(number), // s1 reinterpretAsString(number), // s2 reinterpretAsString(number), // s3 reinterpretAsString(number), // s4 reinterpretAsString(number), // s5 reinterpretAsString(number), // s6 reinterpretAsString(number), // s7 reinterpretAsString(number) // s8 from numbers(100000); -- { serverError 241 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::(anonymous namespace)::ResultOffsetsBuilder::reserve(long, unsigned long) @ 0x000000003b87189f in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnsCommon.cpp:205: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x000000003b871b1d in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1c03f2 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnNullable.cpp:0: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1457d8 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x000000003b8ceaad in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebb156c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000003edccf5e in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9fb29 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9ede9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:24:13.390121 [ 16757 ] {9d1e8dd9-5bde-4690-9bff-65e814cd6142} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.82 MiB (attempt to allocate chunk of 1703936 bytes), maximum: 100.00 MiB.: while pushing to view test_oo0ny96w.mv_01278_9 (c5eb8873-f7de-48b3-b949-dcdc1611141a). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::(anonymous namespace)::ResultOffsetsBuilder::reserve(long, unsigned long) @ 0x000000003b87189f in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnsCommon.cpp:205: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x000000003b871b1d in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1c03f2 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnNullable.cpp:0: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1457d8 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x000000003b8ceaad in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebb156c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000003edccf5e in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9fb29 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9ede9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:24:14.099570 [ 16669 ] {2bfe4d71-8dec-4ac3-a5c1-8c14724c5200} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond('123'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43676) (comment: 01269_toStartOfSecond.sql) (in query: -- Error cases SELECT toStartOfSecond('123');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2ce695 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2ca42f in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:14.102222 [ 16669 ] {2bfe4d71-8dec-4ac3-a5c1-8c14724c5200} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond('123'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2ce695 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2ca42f in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:14.691640 [ 16669 ] {2c03ef3d-c065-41ff-8a93-eb0f3c8eedef} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: While processing toStartOfSecond(now()). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43676) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond(now());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x000000001d2cc292 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d2c9a21 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:24:14.693826 [ 16669 ] {2c03ef3d-c065-41ff-8a93-eb0f3c8eedef} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: While processing toStartOfSecond(now()). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x00000000094840d8 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x000000001d2cc292 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d2c9a21 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:24:15.299021 [ 16669 ] {e9ae4d0b-6faf-4802-beaf-06809422fbe2} executeQuery: Code: 42. DB::Exception: Number of arguments for function toStartOfSecond doesn't match: passed 0, should be 1 or 2: While processing toStartOfSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43676) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2cdfce in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2ca42f in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:15.508584 [ 7294 ] {962d8b7f-6faa-4a8f-9a73-c5769c71e185} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\t' at end of stream.: Buffer has gone, cannot extract information about what has been parsed.: (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea52637 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e491412 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7505e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e74c53e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e752aa3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:24:15.508755 [ 16669 ] {e9ae4d0b-6faf-4802-beaf-06809422fbe2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toStartOfSecond doesn't match: passed 0, should be 1 or 2: While processing toStartOfSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2cdfce in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2ca42f in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:15.511223 [ 8779 ] {962d8b7f-6faa-4a8f-9a73-c5769c71e185} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' at end of stream.: Buffer has gone, cannot extract information about what has been parsed.: While executing ParallelParsingBlockInputFormat: (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49942) (comment: 01271_http_code_parse_error.sh) (in query: insert into test (f1, f2) format TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea52637 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e491412 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7505e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e74c53e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e752aa3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:15.516815 [ 8779 ] {962d8b7f-6faa-4a8f-9a73-c5769c71e185} DynamicQueryHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' at end of stream.: Buffer has gone, cannot extract information about what has been parsed.: While executing ParallelParsingBlockInputFormat: (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209f1539 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x00000000209aa197 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea52637 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e491412 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7505e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e74c53e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e752aa3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:24:16.116119 [ 16669 ] {8c577e30-ecce-41f1-8576-1f810c8c15bc} executeQuery: Code: 43. DB::Exception: Function toStartOfSecond supports 1 or 2 arguments. The optional 2nd argument must be a constant string with a timezone name: While processing toStartOfSecond(now64(), 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43676) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond(now64(), 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2ce1a5 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2ca42f in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:16.118399 [ 16669 ] {8c577e30-ecce-41f1-8576-1f810c8c15bc} TCPHandler: Code: 43. DB::Exception: Function toStartOfSecond supports 1 or 2 arguments. The optional 2nd argument must be a constant string with a timezone name: While processing toStartOfSecond(now64(), 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2ce1a5 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2ca42f in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:24:16.196956 [ 8849 ] {c0bb62ef-860a-424f-b750-80df0946edcb} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.31 MiB (attempt to allocate chunk of 1441792 bytes), maximum: 100.00 MiB.: while pushing to view test_oo0ny96w.mv_01278_3 (c1daf58f-14b0-4344-8506-bb2e2a69f202). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43688) (comment: 01278_min_insert_block_size_rows_for_materialized_views.sh) (in query: insert into data_01278 select number, reinterpretAsString(number), // s1 reinterpretAsString(number), // s2 reinterpretAsString(number), // s3 reinterpretAsString(number), // s4 reinterpretAsString(number), // s5 reinterpretAsString(number), // s6 reinterpretAsString(number), // s7 reinterpretAsString(number) // s8 from numbers(100000); -- { serverError 241 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::(anonymous namespace)::ResultOffsetsBuilder::reserve(long, unsigned long) @ 0x000000003b87189f in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnsCommon.cpp:205: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x000000003b871b1d in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1c03f2 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnNullable.cpp:0: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1457d8 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x000000003b8ceaad in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebb156c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000003edccf5e in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9fb29 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9ede9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:24:16.228510 [ 8849 ] {c0bb62ef-860a-424f-b750-80df0946edcb} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.31 MiB (attempt to allocate chunk of 1441792 bytes), maximum: 100.00 MiB.: while pushing to view test_oo0ny96w.mv_01278_3 (c1daf58f-14b0-4344-8506-bb2e2a69f202). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::(anonymous namespace)::ResultOffsetsBuilder::reserve(long, unsigned long) @ 0x000000003b87189f in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnsCommon.cpp:205: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x000000003b871b1d in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1c03f2 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnNullable.cpp:0: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x000000003b1457d8 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x000000003b8ceaad in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebb156c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000003edccf5e in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9fb29 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9ede9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:24:18.090050 [ 16757 ] {99f6c65f-ecdc-4655-ab52-a4e8cb870123} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 0, should be 2: While processing extractAllGroupsHorizontal(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: -- error cases SELECT extractAllGroupsHorizontal();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:18.092568 [ 16757 ] {99f6c65f-ecdc-4655-ab52-a4e8cb870123} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 0, should be 2: While processing extractAllGroupsHorizontal(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:18.118851 [ 16757 ] {6a7f1cb8-8688-4be0-8907-be3b8ae9007b} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:18.120852 [ 16757 ] {6a7f1cb8-8688-4be0-8907-be3b8ae9007b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x000000002d09aa70 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352c666d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c79ff in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:24:18.677006 [ 16757 ] {b1382460-c376-47ce-b63f-26732e9088d4} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a72305 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:18.677207 [ 8849 ] {ea362c92-bdbb-44c2-add5-639eb2185cec} executeQuery: Code: 47. DB::Exception: Missing columns: 'Arr.C3' 'ArrLen' while processing query: 'SELECT plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (identity(_CAST((10.000100135803223, 0), 'Tuple(Float64, UInt64)')) AS _subquery270) > NULL)))), plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), _subquery270 > NULL)))), dummy, 65535) AS dummy, 65535) AS x, dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST', required columns: 'ArrLen' 'Arr.C3' 'dummy', maybe you meant: 'dummy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43902) (comment: 01247_some_msan_crashs_from_22517.sql) (in query: SELECT x FROM (SELECT dummy AS x, plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (SELECT 10.000100135803223, count(*) FROM system.time_zones) > NULL)))), dummy, 65535) AS dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:18.679080 [ 16757 ] {b1382460-c376-47ce-b63f-26732e9088d4} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a72305 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:18.680092 [ 8849 ] {ea362c92-bdbb-44c2-add5-639eb2185cec} TCPHandler: Code: 47. DB::Exception: Missing columns: 'Arr.C3' 'ArrLen' while processing query: 'SELECT plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (identity(_CAST((10.000100135803223, 0), 'Tuple(Float64, UInt64)')) AS _subquery270) > NULL)))), plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), _subquery270 > NULL)))), dummy, 65535) AS dummy, 65535) AS x, dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST', required columns: 'ArrLen' 'Arr.C3' 'dummy', maybe you meant: 'dummy'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:18.706547 [ 16757 ] {5b9ff6bc-8cc2-4148-9db7-5c8743c549bf} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal(123, 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a72305 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:18.708805 [ 16757 ] {5b9ff6bc-8cc2-4148-9db7-5c8743c549bf} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a72305 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:19.259587 [ 16757 ] {489dc275-056c-45ed-b90f-1480ab8027df} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractAllGroupsHorizontal('hello world', '((('). (CANNOT_COMPILE_REGEXP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(((');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x00000000208a4399 in /usr/bin/clickhouse 4. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a6da22 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:24:19.261840 [ 16757 ] {489dc275-056c-45ed-b90f-1480ab8027df} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractAllGroupsHorizontal('hello world', '((('). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x00000000208a4399 in /usr/bin/clickhouse 4. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a6da22 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:24:19.286244 [ 16757 ] {0d0ecdd4-96a4-4de3-8299-175fb9ab9152} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got String: While processing extractAllGroupsHorizontal('hello world', materialize('\\w+')). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', materialize('\\w+'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a72305 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:19.288636 [ 16757 ] {0d0ecdd4-96a4-4de3-8299-175fb9ab9152} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got String: While processing extractAllGroupsHorizontal('hello world', materialize('\\w+')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a72305 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:19.856138 [ 16757 ] {e90a6a98-36b7-479b-bd9d-414c29922a30} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractAllGroupsHorizontal('hello world', '\\w+'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '\\w+');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a709bb in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:19.857990 [ 16757 ] {e90a6a98-36b7-479b-bd9d-414c29922a30} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractAllGroupsHorizontal('hello world', '\\w+'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a709bb in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:20.419392 [ 16757 ] {76b09c0d-d949-4299-b265-ce4915d107c3} executeQuery: Code: 128. DB::Exception: Too many matches per row (> 0) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(\\w+)') SETTINGS regexp_max_matches_per_row = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x0000000010a73839 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7052e in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:20.421233 [ 16757 ] {76b09c0d-d949-4299-b265-ce4915d107c3} TCPHandler: Code: 128. DB::Exception: Too many matches per row (> 0) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x0000000010a73839 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7052e in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:20.445413 [ 16757 ] {7592f0af-93e1-4378-8fe3-e9e55895d0f1} executeQuery: Code: 128. DB::Exception: Too many matches per row (> 1) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43916) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(\\w+)') SETTINGS regexp_max_matches_per_row = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x0000000010a73839 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7052e in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:20.447464 [ 16757 ] {7592f0af-93e1-4378-8fe3-e9e55895d0f1} TCPHandler: Code: 128. DB::Exception: Too many matches per row (> 1) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x0000000010a73839 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7052e in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:24:25.138920 [ 670 ] {318df4a2-d9c5-4a44-986d-7985b03f7074} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 113.80 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43962) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:25.147505 [ 670 ] {318df4a2-d9c5-4a44-986d-7985b03f7074} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 113.80 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:30.738400 [ 8594 ] {e6ce0eac-1fc1-454f-be96-5053c3c6353d} executeQuery: Code: 36. DB::Exception: Polygon is not valid: Geometry has interior rings defined outside the outer boundary: While processing pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52338) (comment: 01213_point_in_Myanmar.sql) (in query: SELECT pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b595f34 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:30.752807 [ 8594 ] {e6ce0eac-1fc1-454f-be96-5053c3c6353d} TCPHandler: Code: 36. DB::Exception: Polygon is not valid: Geometry has interior rings defined outside the outer boundary: While processing pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b595f34 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:24:32.566858 [ 670 ] {b3a6ae48-5d1e-4ca5-b871-9b65e6c66e2b} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 113.80 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43962) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type w/ Settings/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:32.576328 [ 670 ] {b3a6ae48-5d1e-4ca5-b871-9b65e6c66e2b} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 113.80 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:48.643656 [ 16757 ] {75954d05-071e-46d2-9a33-c32b5e4cdcc4} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 1) where d not in (-1, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4c7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:558: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e7d5d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:48.685798 [ 16757 ] {75954d05-071e-46d2-9a33-c32b5e4cdcc4} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4c7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:558: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e7d5d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:48.783547 [ 16757 ] {ea6cf408-6aac-419b-acb7-ee2b8f8e25d4} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 2) where d not in (1, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4c7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:558: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e7d5d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:48.874448 [ 16757 ] {ea6cf408-6aac-419b-acb7-ee2b8f8e25d4} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4c7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:558: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e7d5d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:49.607673 [ 16757 ] {97b90757-de3b-4b18-9b48-061e8b5a97b9} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 3) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4e63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:49.654263 [ 16757 ] {97b90757-de3b-4b18-9b48-061e8b5a97b9} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4e63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:50.472046 [ 16757 ] {b39cbf15-942e-4ce0-89d7-aff995575d56} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 4) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4c7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:50.492318 [ 16757 ] {b39cbf15-942e-4ce0-89d7-aff995575d56} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f4c7a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2923 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:51.290588 [ 16757 ] {c9403a34-5000-4549-99a4-3b7fd9a8d36c} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 5) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f726d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2c22 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:51.315236 [ 16757 ] {c9403a34-5000-4549-99a4-3b7fd9a8d36c} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f726d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2c22 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:52.160899 [ 16757 ] {74673c47-7aca-4398-8796-b6206dcaade2} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 6) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f708d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2c22 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:52.174902 [ 16757 ] {74673c47-7aca-4398-8796-b6206dcaade2} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000003a8f708d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e2c22 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:52.866971 [ 16757 ] {e8befb59-2f58-4a3b-99aa-77ec258b74ad} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(26, 8)', 0, 7) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000003a8fa451 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e328e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:52.885350 [ 16757 ] {e8befb59-2f58-4a3b-99aa-77ec258b74ad} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000003a8fa451 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e328e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:53.608950 [ 16757 ] {d583f2f0-29f9-40b4-8b3e-11c098b6246d} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58334) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(27, 8)', 0, 8) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000003a8fa6c4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e328e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:53.625386 [ 16757 ] {d583f2f0-29f9-40b4-8b3e-11c098b6246d} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:91: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000003a8fa6c4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e328e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000003a8e88d5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:118: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000037d32bbb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000037d6c8bc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4998e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037ccd60a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce41d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 2024.12.17 03:24:55.278647 [ 9401 ] {93dbd01c-67cc-4774-9519-921eba4c0bd8} executeQuery: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfab7b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:55.295269 [ 9401 ] {93dbd01c-67cc-4774-9519-921eba4c0bd8} TCPHandler: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfab7b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:55.652567 [ 9401 ] {fea52845-8a49-4ab8-bb0e-ad777f41de82} executeQuery: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: rollback), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeRollback(std::shared_ptr) @ 0x0000000039dfbf77 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:31: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8abb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:55.666142 [ 9401 ] {fea52845-8a49-4ab8-bb0e-ad777f41de82} TCPHandler: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeRollback(std::shared_ptr) @ 0x0000000039dfbf77 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:31: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8abb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:57.525081 [ 9401 ] {45087daa-0047-4c14-b00b-099cf956d6d9} executeQuery: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: begin transaction), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000039df96a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8a39 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:57.527915 [ 9401 ] {45087daa-0047-4c14-b00b-099cf956d6d9} TCPHandler: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000039df96a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8a39 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:58.673425 [ 9401 ] {dabb2632-1cbb-46ba-88b0-ced2aafc9519} executeQuery: Code: 46. DB::Exception: Unknown function functionThatDoesNotExist: While processing functionThatDoesNotExist(). (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: -- rollback on exception before start select functionThatDoesNotExist();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000020afaa75 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x00000000352d6977 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionFactory.cpp:0: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x00000000352d8639 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4c555 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:58.687997 [ 9401 ] {dabb2632-1cbb-46ba-88b0-ced2aafc9519} TCPHandler: Code: 46. DB::Exception: Unknown function functionThatDoesNotExist: While processing functionThatDoesNotExist(). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x0000000020afaa75 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x00000000352d6977 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionFactory.cpp:0: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x00000000352d8639 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4c555 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 30. ? @ 0x00007fe21c2faac3 in ? 31. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:58.992208 [ 9401 ] {dd5bab22-fc99-47d5-a100-77b569c06fa2} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: -- cannot commit after exception commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:59.002562 [ 9401 ] {dd5bab22-fc99-47d5-a100-77b569c06fa2} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:59.054724 [ 9401 ] {20c73f5f-63ad-42a4-a511-28d448877f3f} executeQuery: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: begin transaction), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000039df96a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8a39 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:24:59.074344 [ 9401 ] {20c73f5f-63ad-42a4-a511-28d448877f3f} TCPHandler: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000001515ec97 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000039df96a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8a39 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.099089 [ 9401 ] {c9b2cbc3-3c0f-4b56-947b-dade4b5f866e} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(less(100, number) :: 2) -> throwIf(less(100, number)) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: -- rollback on exception while processing select throwIf(100 < number) from numbers(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.107233 [ 9401 ] {c9b2cbc3-3c0f-4b56-947b-dade4b5f866e} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(less(100, number) :: 2) -> throwIf(less(100, number)) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.153947 [ 9401 ] {4b66f2d0-d996-431a-ac78-0c1b1171f82a} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: -- cannot commit after exception commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.174684 [ 9401 ] {4b66f2d0-d996-431a-ac78-0c1b1171f82a} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.433322 [ 9401 ] {3ce1c8f6-50bf-4f07-86e1-c4023ddfddbb} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: insert into mt1 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.451798 [ 9401 ] {3ce1c8f6-50bf-4f07-86e1-c4023ddfddbb} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.504730 [ 9401 ] {ded74077-b46b-4f2a-9159-a259ce563468} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: insert into mt2 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.506728 [ 9401 ] {ded74077-b46b-4f2a-9159-a259ce563468} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.577612 [ 9401 ] {2207ad3f-b018-40d6-a8fa-476aa2e7290f} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: select 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:00.579375 [ 9401 ] {2207ad3f-b018-40d6-a8fa-476aa2e7290f} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:01.631152 [ 670 ] {01167_isolation_hermitage_test_eszzulgz_tx2_11809} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 11928988313064356885'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49088) (in query: alter table test update value=12 where id=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:01.651497 [ 670 ] {01167_isolation_hermitage_test_eszzulgz_tx2_11809} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 11928988313064356885'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:02.714253 [ 29473 ] {01167_isolation_hermitage_test_eszzulgz_tx2_21026} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49122) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:02.722194 [ 29473 ] {01167_isolation_hermitage_test_eszzulgz_tx2_21026} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:03.236769 [ 29476 ] {01167_isolation_hermitage_test_eszzulgz_tx2_17433} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49138) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:03.266868 [ 29476 ] {01167_isolation_hermitage_test_eszzulgz_tx2_17433} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:04.272783 [ 9401 ] {078718f5-3ece-481d-8b6e-c4ac3832086c} executeQuery: Code: 649. DB::Exception: Cannot set snapshot to reserved CSN. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: set transaction snapshot 5), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeSetSnapshot(std::shared_ptr, unsigned long) @ 0x0000000039dfc74b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8b6b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:04.276217 [ 9401 ] {078718f5-3ece-481d-8b6e-c4ac3832086c} TCPHandler: Code: 649. DB::Exception: Cannot set snapshot to reserved CSN. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeSetSnapshot(std::shared_ptr, unsigned long) @ 0x0000000039dfc74b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8b6b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:04.604039 [ 9401 ] {473c2403-7897-4c44-adb2-ee6c0d349142} executeQuery: Code: 48. DB::Exception: Transactions are not supported for this type of query (CreateQuery__m). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: create table m (n int) engine=Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:1032: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0c9c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:04.613279 [ 9401 ] {473c2403-7897-4c44-adb2-ee6c0d349142} TCPHandler: Code: 48. DB::Exception: Transactions are not supported for this type of query (CreateQuery__m). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:1032: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0c9c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:04.631045 [ 9401 ] {0dc07316-2311-4414-a396-0066ab118dfc} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:04.632604 [ 9401 ] {0dc07316-2311-4414-a396-0066ab118dfc} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.032152 [ 9401 ] {09c4e272-a60e-427f-9120-0fd4d6bec3fa} executeQuery: Code: 48. DB::Exception: Storage Memory (table test_eogpjxci.m (54060236-2a7d-4ae6-9e8a-f250854ffd1f)) does not support transactions. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: insert into m values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:42: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000039615aea in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab1b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.039968 [ 9401 ] {09c4e272-a60e-427f-9120-0fd4d6bec3fa} TCPHandler: Code: 48. DB::Exception: Storage Memory (table test_eogpjxci.m (54060236-2a7d-4ae6-9e8a-f250854ffd1f)) does not support transactions. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:42: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000039615aea in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab1b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.053004 [ 9401 ] {227a48fe-877e-4730-9906-6932f1123f7a} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: select * from m;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.054693 [ 9401 ] {227a48fe-877e-4730-9906-6932f1123f7a} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.075137 [ 9401 ] {6a8d2bc2-c76a-45aa-966f-c8acf73e5006} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.076816 [ 9401 ] {6a8d2bc2-c76a-45aa-966f-c8acf73e5006} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.481227 [ 9401 ] {193a3ee9-d4f2-45af-90c8-5cfb899c67c9} executeQuery: Code: 48. DB::Exception: Storage Memory (table test_eogpjxci.m (54060236-2a7d-4ae6-9e8a-f250854ffd1f)) does not support transactions. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: select * from m;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:42: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000039615aea in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/JoinedTables.h:36: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b224fe in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.483393 [ 9401 ] {193a3ee9-d4f2-45af-90c8-5cfb899c67c9} TCPHandler: Code: 48. DB::Exception: Storage Memory (table test_eogpjxci.m (54060236-2a7d-4ae6-9e8a-f250854ffd1f)) does not support transactions. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:42: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000039615aea in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/JoinedTables.h:36: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b224fe in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.504743 [ 9401 ] {ed675512-a8a4-433b-9b2e-aae0ac818895} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39158) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:05.509875 [ 9401 ] {ed675512-a8a4-433b-9b2e-aae0ac818895} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:11.737646 [ 17371 ] {01167_isolation_hermitage_test_eszzulgz_tx3_32114} test_eszzulgz.test (b412a7e8-1d9c-4124-8e56-2a82be94661a): Cannot find transaction (33, 55, 7c1a324c-0506-4ed2-a901-fa5e80ec6978) which had started mutation mutation_5.txt, probably it finished 2024.12.17 03:25:20.654030 [ 1129 ] {01167_isolation_hermitage_test_eszzulgz_tx5_14449} test_eszzulgz.test (b412a7e8-1d9c-4124-8e56-2a82be94661a): Cannot find transaction (33, 55, 7c1a324c-0506-4ed2-a901-fa5e80ec6978) which had started mutation mutation_5.txt, probably it finished 2024.12.17 03:25:24.505148 [ 16669 ] {6c328244-6333-4bb0-8a5e-04f1f176db0b} executeQuery: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40178) (comment: 01134_set_overflow_mode.sql) (in query: SELECT arrayJoin([5, 25]) IN (SELECT DISTINCT toUInt8(intDiv(number, 10)) FROM numbers(300));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x000000003a213a1b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000003a212547 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x000000003a211e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000003eb58181 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:0: DB::IAccumulatingTransform::work() @ 0x000000003eb61cf6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000003eb4fb6c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:24.508676 [ 16669 ] {6c328244-6333-4bb0-8a5e-04f1f176db0b} TCPHandler: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x000000003a213a1b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000003a212547 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x000000003a211e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000003eb58181 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:0: DB::IAccumulatingTransform::work() @ 0x000000003eb61cf6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000003eb4fb6c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:24.624271 [ 1131 ] {75d31559-dc01-443a-8402-3d218edc7336} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40210) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:24.627124 [ 1131 ] {75d31559-dc01-443a-8402-3d218edc7336} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:24.807174 [ 16669 ] {c3188611-5b06-4027-851b-54456d7342d3} executeQuery: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40178) (comment: 01134_set_overflow_mode.sql) (in query: SELECT arrayJoin([5, 25]) IN (SELECT DISTINCT toUInt8(intDiv(number, 10)) FROM numbers(210));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x000000003a213a1b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000003a212547 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x000000003a211e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000003eb58181 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:0: DB::IAccumulatingTransform::work() @ 0x000000003eb61cf6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000003eb4fb6c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:24.811225 [ 16669 ] {c3188611-5b06-4027-851b-54456d7342d3} TCPHandler: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x000000003a213a1b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000003a212547 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x000000003a211e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000003eb58181 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:0: DB::IAccumulatingTransform::work() @ 0x000000003eb61cf6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000003eb4fb6c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:24.984536 [ 1131 ] {06e701d8-32f5-4ed6-b92e-a1cf4da3aac2} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 21.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40210) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(21);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:24.988011 [ 1131 ] {06e701d8-32f5-4ed6-b92e-a1cf4da3aac2} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 21.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:25.030921 [ 1131 ] {53d947e6-2ff5-4890-aac7-fc73103fea6e} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40210) (comment: 01132_max_rows_to_read.sql) (in query: -- check early exception if the estimated number of rows is high SELECT * FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:25.033033 [ 1131 ] {53d947e6-2ff5-4890-aac7-fc73103fea6e} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a71f69 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e22828b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:28.070174 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx7_16180} test_eszzulgz.test (b412a7e8-1d9c-4124-8e56-2a82be94661a): Cannot find transaction (76, 36, 7c1a324c-0506-4ed2-a901-fa5e80ec6978) which had started mutation mutation_13.txt, probably it finished 2024.12.17 03:25:28.676865 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx8_4559} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 12488340602301323103'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51758) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:28.676945 [ 2793 ] {7097a0cf-0487-47dd-972e-64c51a97af4f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 MiB (attempt to allocate chunk of 134221824 bytes), maximum: 15.26 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40458) (comment: 01109_inflating_cross_join.sql) (in query: SELECT count(*) FROM numbers(10000) n1 CROSS JOIN numbers(1000) n2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnVector::reserve(unsigned long) @ 0x000000003b2c8fe0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::HashJoin::joinBlockImplCross(DB::Block&, std::shared_ptr&) const @ 0x0000000038d654bd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/HashJoin.cpp:1763: DB::HashJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000038d6bf9f in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000003ebb46c9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:29: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000003f13afd3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b535c9 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:28.679291 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx8_4559} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 12488340602301323103'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:28.679924 [ 2793 ] {7097a0cf-0487-47dd-972e-64c51a97af4f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 MiB (attempt to allocate chunk of 134221824 bytes), maximum: 15.26 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnVector::reserve(unsigned long) @ 0x000000003b2c8fe0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::HashJoin::joinBlockImplCross(DB::Block&, std::shared_ptr&) const @ 0x0000000038d654bd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/HashJoin.cpp:1763: DB::HashJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000038d6bf9f in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000003ebb46c9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:29: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000003f13afd3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b535c9 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:28.829484 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx8_22584} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51790) (in query: select 9, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:28.831731 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx8_22584} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:28.947240 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx8_9876} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51806) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:28.948980 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx8_9876} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:29.433918 [ 29463 ] {5381fc38-f116-40c3-93b8-a1a0f87da292} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.join, because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.s, test_88jxhhru.dict2. (HAVE_DEPENDENT_OBJECTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40500) (comment: 01160_table_dependencies.sh) (in query: rename table join to join1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x0000000037afd2a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afbabc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:29.436851 [ 29463 ] {5381fc38-f116-40c3-93b8-a1a0f87da292} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.join, because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.s, test_88jxhhru.dict2. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x0000000037afd2a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afbabc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:30.271151 [ 29473 ] {39a6203f-8bb0-4f5e-b3bb-80198256bb71} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.join (7f2fc781-4d30-4b0b-8c8c-095a8ca75c67), because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.s, test_88jxhhru.dict2. (HAVE_DEPENDENT_OBJECTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40548) (comment: 01160_table_dependencies.sh) (in query: drop table join), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037affa0e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039648673 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:30.274417 [ 29473 ] {39a6203f-8bb0-4f5e-b3bb-80198256bb71} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.join (7f2fc781-4d30-4b0b-8c8c-095a8ca75c67), because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.s, test_88jxhhru.dict2. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037affa0e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039648673 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:30.696722 [ 29463 ] {f50f4352-165f-4009-a57c-c2b05371bc39} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40584) (comment: 01162_strange_mutations.sh) (in query: ALTER TABLE test UPDATE test = (SELECT groupArray(id) FROM t1 GROUP BY 'dummy')[n - 99] WHERE 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [120]) @ 0x0000000036adce17 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MutationsInterpreter.cpp:0: DB::MutationsInterpreter::validate() @ 0x0000000039f2dbf7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f850c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:30.718437 [ 29463 ] {f50f4352-165f-4009-a57c-c2b05371bc39} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [120]) @ 0x0000000036adce17 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MutationsInterpreter.cpp:0: DB::MutationsInterpreter::validate() @ 0x0000000039f2dbf7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f850c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.177983 [ 17867 ] {d6dccbd0-c779-4572-b0cb-ecf6610bc4be} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.dict1 (07251324-8d2b-423c-8e7b-3b046e5d8642), because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.join. (HAVE_DEPENDENT_OBJECTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40604) (comment: 01160_table_dependencies.sh) (in query: detach dictionary dict1 permanently), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x0000000037afd2a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039647527 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.473061 [ 16564 ] {8e8ff02b-e8d1-4d35-a6c1-3d45b26494ba} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40624) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.473061 [ 16615 ] {d43147c4-716d-4733-97fc-666cc80a029b} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40638) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.473233 [ 5015 ] {7ee06f52-19a5-4013-ab9c-2fed65d2a61e} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40644) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.473292 [ 9398 ] {21494354-281f-4c09-b548-f6aee52dc7a0} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40656) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.473366 [ 29470 ] {717cf13c-c8c6-46f0-ac57-c5a650188db0} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40680) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.474069 [ 8562 ] {04d69ce3-0959-4f28-9fe9-daeccea0b5ef} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40698) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.474608 [ 16671 ] {6c17c9c6-12ce-4c14-9d25-2853c85984c0} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40690) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.814473 [ 1130 ] {034926e1-4970-43fc-b5ce-47b14be8bff3} executeQuery: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40714) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003c1276e1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aecbb4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:31.814472 [ 17867 ] {d6dccbd0-c779-4572-b0cb-ecf6610bc4be} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.dict1 (07251324-8d2b-423c-8e7b-3b046e5d8642), because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.join. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x0000000037afd2a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039647527 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.241464 [ 8849 ] {74fc7577-0433-49dd-a32d-8871c98a6ade} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40708) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536644 [ 8562 ] {04d69ce3-0959-4f28-9fe9-daeccea0b5ef} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536616 [ 16564 ] {8e8ff02b-e8d1-4d35-a6c1-3d45b26494ba} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536623 [ 9398 ] {21494354-281f-4c09-b548-f6aee52dc7a0} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536746 [ 16671 ] {6c17c9c6-12ce-4c14-9d25-2853c85984c0} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536849 [ 5015 ] {7ee06f52-19a5-4013-ab9c-2fed65d2a61e} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536919 [ 1130 ] {034926e1-4970-43fc-b5ce-47b14be8bff3} TCPHandler: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003c1276e1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aecbb4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536882 [ 29470 ] {717cf13c-c8c6-46f0-ac57-c5a650188db0} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536847 [ 29463 ] {20b81174-9189-485b-9e81-0aa82d35f5cc} executeQuery: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40666) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.537030 [ 8849 ] {74fc7577-0433-49dd-a32d-8871c98a6ade} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.536750 [ 16615 ] {d43147c4-716d-4733-97fc-666cc80a029b} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:32.548270 [ 29463 ] {20b81174-9189-485b-9e81-0aa82d35f5cc} TCPHandler: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.395477 [ 8594 ] {7c684082-4a29-4385-a5be-ec7795fcdf26} executeQuery: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40824) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.395530 [ 16742 ] {6c75ed0a-7ec9-4fe6-aa87-5f65eb55db27} executeQuery: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40832) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.395720 [ 17509 ] {9bead343-93bb-4bd7-a12a-b9e89634dbd2} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40852) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.398354 [ 17509 ] {9bead343-93bb-4bd7-a12a-b9e89634dbd2} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.398520 [ 16742 ] {6c75ed0a-7ec9-4fe6-aa87-5f65eb55db27} TCPHandler: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.411845 [ 8594 ] {7c684082-4a29-4385-a5be-ec7795fcdf26} TCPHandler: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.422744 [ 8849 ] {aa19b05d-118f-4456-9abf-18eff5799172} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32854) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.425852 [ 8849 ] {aa19b05d-118f-4456-9abf-18eff5799172} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.439327 [ 17379 ] {511297b5-aa23-4e0c-ba1d-5c9a6d8be4cf} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40814) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.447756 [ 29476 ] {f94a4e33-7e7a-4627-8d92-725d211b2342} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40818) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.451586 [ 17379 ] {511297b5-aa23-4e0c-ba1d-5c9a6d8be4cf} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.461177 [ 29476 ] {f94a4e33-7e7a-4627-8d92-725d211b2342} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.463464 [ 17504 ] {1f36b4a7-bf98-4d30-85d8-9d978b6ab00b} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32880) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.466407 [ 17504 ] {1f36b4a7-bf98-4d30-85d8-9d978b6ab00b} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.624326 [ 16613 ] {42e56d98-fb91-40f3-895e-e939b14c4f06} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32916) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:33.627051 [ 16613 ] {42e56d98-fb91-40f3-895e-e939b14c4f06} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.035545 [ 16645 ] {9215b9a3-c785-4887-ab91-e78534c98d5c} executeQuery: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32962) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.035806 [ 29463 ] {427b64ce-b976-4a34-9cfe-0c16f92c6fd7} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32972) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.042063 [ 16645 ] {9215b9a3-c785-4887-ab91-e78534c98d5c} TCPHandler: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.051878 [ 29463 ] {427b64ce-b976-4a34-9cfe-0c16f92c6fd7} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.130981 [ 29473 ] {b618d6f7-c553-41f4-97c5-ac41d7f91c81} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33000) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.152704 [ 29473 ] {b618d6f7-c553-41f4-97c5-ac41d7f91c81} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.168405 [ 9401 ] {b956a516-fd2d-4550-acfe-b308984dd042} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33020) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.191999 [ 9401 ] {b956a516-fd2d-4550-acfe-b308984dd042} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.200096 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:34.208590 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:34.244561 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:34.251915 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:34.283614 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:34.286927 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:34.305686 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:34.307869 [ 17867 ] {0940fdb3-9acb-4166-932c-55fb0a1b3392} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33024) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.310408 [ 17867 ] {0940fdb3-9acb-4166-932c-55fb0a1b3392} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.312242 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:34.334781 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:34.340208 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:34.357841 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:34.364911 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:34.390231 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:34.402812 [ 16757 ] {5e28d85a-3c80-4540-a023-84452f535854} test_cb6m05sb.concurrent_optimize_table (8199944c-3a58-40d4-b65d-2f33efc3f347): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:34.928708 [ 29463 ] {d6314eda-0053-432e-8597-2c0414bba662} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33066) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003c129f05 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aecbb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.930069 [ 17867 ] {fb6ca2bf-505b-4001-ad47-42c7a4254b5f} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33080) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.930181 [ 9401 ] {d987da90-13e7-4c62-9bd4-6b1f83fc1941} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33084) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.932162 [ 17867 ] {fb6ca2bf-505b-4001-ad47-42c7a4254b5f} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.933855 [ 29463 ] {d6314eda-0053-432e-8597-2c0414bba662} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003c129f05 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aecbb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.933934 [ 9401 ] {d987da90-13e7-4c62-9bd4-6b1f83fc1941} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.941945 [ 16564 ] {11ef6d6b-026a-4d6c-8046-2c25338fffe1} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33102) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:34.941945 [ 670 ] {e9f87c81-42c3-4919-b3f6-97ffcd7f28f5} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33092) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.271881 [ 16615 ] {179b5616-31be-48b9-ac1d-78ed40c673b0} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.dict1, because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.join. (HAVE_DEPENDENT_OBJECTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33108) (comment: 01160_table_dependencies.sh) (in query: rename database test_88jxhhru to test_88jxhhru_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037affa0e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/StorageID.h:36: DB::DatabaseAtomic::renameDatabase(std::shared_ptr, String const&) @ 0x00000000370d3e14 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039af9bd3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5aa1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.271936 [ 670 ] {e9f87c81-42c3-4919-b3f6-97ffcd7f28f5} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.272039 [ 29461 ] {b2f220aa-6f36-43f4-8d64-3e335f04fab1} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32948) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.272064 [ 1077 ] {dc30c1b5-837e-40bb-b7aa-9671af5e96ba} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33132) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.274940 [ 16564 ] {11ef6d6b-026a-4d6c-8046-2c25338fffe1} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.276190 [ 1077 ] {dc30c1b5-837e-40bb-b7aa-9671af5e96ba} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.276452 [ 29461 ] {b2f220aa-6f36-43f4-8d64-3e335f04fab1} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.277053 [ 9398 ] {854383a0-d26a-4aad-97fd-9b265bd9205e} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33126) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.281386 [ 9398 ] {854383a0-d26a-4aad-97fd-9b265bd9205e} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.284506 [ 16615 ] {179b5616-31be-48b9-ac1d-78ed40c673b0} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_88jxhhru.dict1, because some tables depend on it: test_88jxhhru.t (60eaad28-1328-4820-a0c3-2345d7eaef3c), test_88jxhhru.join. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037b0ece2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037afe54b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x0000000037affa0e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/StorageID.h:36: DB::DatabaseAtomic::renameDatabase(std::shared_ptr, String const&) @ 0x00000000370d3e14 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039af9bd3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5aa1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.496989 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx9_14295} test_eszzulgz.test (b412a7e8-1d9c-4124-8e56-2a82be94661a): Cannot find transaction (89, 53, 7c1a324c-0506-4ed2-a901-fa5e80ec6978) which had started mutation mutation_16.txt, probably it finished 2024.12.17 03:25:35.553357 [ 670 ] {b350c3bc-6906-4f20-b2a1-2bb3b2cf41db} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33156) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.557973 [ 670 ] {b350c3bc-6906-4f20-b2a1-2bb3b2cf41db} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.814191 [ 29473 ] {54313ff4-4832-488a-852c-3e3490d1d1dc} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33172) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.814573 [ 17867 ] {523dad5c-fb88-47f4-b6d9-8100a45afbd3} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33188) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.823262 [ 17867 ] {523dad5c-fb88-47f4-b6d9-8100a45afbd3} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.823847 [ 29473 ] {54313ff4-4832-488a-852c-3e3490d1d1dc} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.827116 [ 16615 ] {37e4dd64-8d78-4476-b913-b4fa4a944a3d} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33214) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.830346 [ 16615 ] {37e4dd64-8d78-4476-b913-b4fa4a944a3d} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:35.933149 [ 5015 ] {fddd897d-991f-4396-8f1d-cbe1c934aa22} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33224) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.290126 [ 5015 ] {fddd897d-991f-4396-8f1d-cbe1c934aa22} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.290343 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx10_12868} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 7251158989788804338'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45312) (in query: alter table test update value = 12 where id = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.290418 [ 1077 ] {f664a09b-839a-462e-b7b8-49def3addaa3} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33242) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.290346 [ 9398 ] {002cfa93-fbc1-4ae2-a1f2-5f1f28fbeede} executeQuery: Code: 81. DB::Exception: Database test_88jxhhru_2 does not exist. Maybe you meant test_88jxhhru?. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33236) (comment: 01160_table_dependencies.sh) (in query: rename table t to test_88jxhhru_2.t), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037adea9f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:144: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc177 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.294154 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx10_12868} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 7251158989788804338'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:36.296219 [ 1077 ] {f664a09b-839a-462e-b7b8-49def3addaa3} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.304041 [ 9398 ] {002cfa93-fbc1-4ae2-a1f2-5f1f28fbeede} TCPHandler: Code: 81. DB::Exception: Database test_88jxhhru_2 does not exist. Maybe you meant test_88jxhhru?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037adea9f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:144: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc177 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.431511 [ 670 ] {b8ad9706-701c-4edb-a8b1-12173c8cfb33} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33294) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.449765 [ 670 ] {b8ad9706-701c-4edb-a8b1-12173c8cfb33} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.560778 [ 16671 ] {47b59409-c239-4adb-8232-2bab8bb92fa4} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33250) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.571682 [ 16671 ] {47b59409-c239-4adb-8232-2bab8bb92fa4} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.593428 [ 5015 ] {d09aa2f1-7612-4f79-b61e-7872054f965a} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33304) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.598320 [ 5015 ] {d09aa2f1-7612-4f79-b61e-7872054f965a} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.617631 [ 29473 ] {7e1dfbc8-f24d-479f-b661-695954c7c542} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33300) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.618791 [ 9398 ] {9e7875d6-7834-4b77-979e-9b31a9fdf005} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33342) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.628193 [ 29473 ] {7e1dfbc8-f24d-479f-b661-695954c7c542} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.638882 [ 16615 ] {7b304bdb-53a1-4599-a27e-af5d1717eea7} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33330) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.642271 [ 16615 ] {7b304bdb-53a1-4599-a27e-af5d1717eea7} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.650186 [ 9398 ] {9e7875d6-7834-4b77-979e-9b31a9fdf005} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.687789 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx10_6239} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45344) (in query: alter table test update value = 18 where id = 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.689500 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx10_6239} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:36.694401 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:36.697663 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:36.731791 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:36.734557 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:36.746728 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:36.749179 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:36.761201 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:36.764937 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:36.777469 [ 8594 ] {b3440845-c53f-43c2-9216-ec33fe534313} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33364) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.782713 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:36.788265 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:36.789096 [ 8594 ] {b3440845-c53f-43c2-9216-ec33fe534313} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.803864 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:36.806310 [ 1077 ] {31777292-a010-4d26-ab8a-dc2a77689791} test_cb6m05sb.concurrent_optimize_table (26602710-d9a7-4c3a-b0c3-16c86f21b1ce): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:36.919189 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx10_1931} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45370) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.921716 [ 29459 ] {01167_isolation_hermitage_test_eszzulgz_tx10_1931} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:36.958888 [ 17867 ] {f6e7f597-8fe3-49ee-af6f-f17be6ac76d0} executeQuery: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33274) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:36.974277 [ 17867 ] {f6e7f597-8fe3-49ee-af6f-f17be6ac76d0} TCPHandler: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.321207 [ 16613 ] {78bfb5de-cd69-4c5f-afcc-fe0ff80c6e06} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33426) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.337865 [ 16613 ] {78bfb5de-cd69-4c5f-afcc-fe0ff80c6e06} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.355176 [ 29476 ] {ab54c165-055b-465f-9eda-113215dfe9a5} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33436) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.359952 [ 29476 ] {ab54c165-055b-465f-9eda-113215dfe9a5} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.364978 [ 16742 ] {164a130e-e969-49e9-9a09-691c397f02ee} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33452) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.376604 [ 16742 ] {164a130e-e969-49e9-9a09-691c397f02ee} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.412234 [ 17248 ] {8fde77df-1aeb-42b9-acb9-50ab2fa1ddb3} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33470) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.415088 [ 17248 ] {8fde77df-1aeb-42b9-acb9-50ab2fa1ddb3} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.429258 [ 17509 ] {8e22f835-030b-4c9b-8e5c-89fa6f751c1a} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33454) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.451466 [ 17509 ] {8e22f835-030b-4c9b-8e5c-89fa6f751c1a} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.465350 [ 9470 ] {6e33e76f-9f7c-4b66-b6af-c14516b7dd6c} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33418) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.478215 [ 9470 ] {6e33e76f-9f7c-4b66-b6af-c14516b7dd6c} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.497192 [ 9398 ] {53157613-60c9-4ca4-af18-45cd9be92aba} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33396) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.507553 [ 9398 ] {53157613-60c9-4ca4-af18-45cd9be92aba} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.623625 [ 16613 ] {373e3e73-e851-4f7f-809b-dca2bb69773c} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33514) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.630097 [ 16613 ] {373e3e73-e851-4f7f-809b-dca2bb69773c} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.740661 [ 29476 ] {0dbd0e4b-c7ef-468d-8fb9-198e853884d8} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33526) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:37.743972 [ 29476 ] {0dbd0e4b-c7ef-468d-8fb9-198e853884d8} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.369809 [ 17248 ] {6cfb30be-bbb2-4aa1-bc49-54f6e0fc6534} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33616) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.377220 [ 17248 ] {6cfb30be-bbb2-4aa1-bc49-54f6e0fc6534} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.483146 [ 1129 ] {5bd0cc4d-f5e8-4f1d-b8c2-d61eafbc2478} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33654) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.489093 [ 1129 ] {5bd0cc4d-f5e8-4f1d-b8c2-d61eafbc2478} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.576370 [ 17871 ] {aa4663e4-1895-4b77-b873-6a62e5b921d7} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33630) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.578852 [ 17379 ] {eb214463-ba8b-4f9c-a521-0b549ab6a0a8} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33562) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.580154 [ 17871 ] {aa4663e4-1895-4b77-b873-6a62e5b921d7} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.624788 [ 17379 ] {eb214463-ba8b-4f9c-a521-0b549ab6a0a8} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.651482 [ 9402 ] {2535800c-117a-4972-9700-67b5909310af} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33676) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.656797 [ 9402 ] {2535800c-117a-4972-9700-67b5909310af} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.734598 [ 8594 ] {5680dd00-f0cb-4377-afa0-cdaf1d2cca88} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33558) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.748817 [ 8594 ] {5680dd00-f0cb-4377-afa0-cdaf1d2cca88} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.826943 [ 16613 ] {551d4469-d227-431b-a137-b84e6bf2920c} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33568) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.836990 [ 16613 ] {551d4469-d227-431b-a137-b84e6bf2920c} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.869862 [ 16742 ] {2b860117-4171-4fbc-9a11-95ebdaeb4cdb} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33588) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:38.878465 [ 16742 ] {2b860117-4171-4fbc-9a11-95ebdaeb4cdb} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.071848 [ 9402 ] {bb438572-3c0a-4d14-81c5-90bb69fd32a6} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33700) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.078172 [ 9402 ] {bb438572-3c0a-4d14-81c5-90bb69fd32a6} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.153976 [ 16971 ] {6521a3c7-fcb7-4d22-98e3-599eecc0f18b} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33702) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.175649 [ 16971 ] {6521a3c7-fcb7-4d22-98e3-599eecc0f18b} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.252647 [ 7430 ] {35704f4a-3c2e-4aa3-a3e8-b9e9533e7923} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33758) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.257499 [ 17871 ] {ce624f4d-e21e-487e-bfcd-e5851dea8c11} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33744) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.257627 [ 7430 ] {35704f4a-3c2e-4aa3-a3e8-b9e9533e7923} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.260987 [ 17871 ] {ce624f4d-e21e-487e-bfcd-e5851dea8c11} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.365535 [ 9402 ] {29b78157-0255-491e-b98d-136c55c4f4df} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33798) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003c129f05 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aecbb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.368960 [ 9402 ] {29b78157-0255-491e-b98d-136c55c4f4df} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003c129f05 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aecbb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.379581 [ 7071 ] {438c3c86-06c8-4db6-83e5-a6d23e84cf3c} executeQuery: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33732) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.390080 [ 7071 ] {438c3c86-06c8-4db6-83e5-a6d23e84cf3c} TCPHandler: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.884070 [ 17371 ] {47a91c17-9802-4dc0-83b5-625af7ff7360} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33774) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.905052 [ 17371 ] {47a91c17-9802-4dc0-83b5-625af7ff7360} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.924116 [ 16669 ] {3a011086-77e7-432a-8eb7-3e9c6b0fe0ec} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33784) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.936849 [ 16669 ] {3a011086-77e7-432a-8eb7-3e9c6b0fe0ec} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.945393 [ 16574 ] {6d70c0c2-fd8a-4ef2-b0b7-a86e0bc1be0b} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33854) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.952529 [ 16574 ] {6d70c0c2-fd8a-4ef2-b0b7-a86e0bc1be0b} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.975568 [ 7071 ] {952d3ddc-2b0b-4dd1-beab-0473e028d910} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33876) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:39.982641 [ 7071 ] {952d3ddc-2b0b-4dd1-beab-0473e028d910} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.019961 [ 16971 ] {9c8a8d09-2d81-4f69-ac4f-371709e733fe} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33890) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.022836 [ 16971 ] {9c8a8d09-2d81-4f69-ac4f-371709e733fe} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.145101 [ 17371 ] {bc09fefd-67bf-4f10-b4ae-655bb5af8375} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33904) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.249124 [ 17371 ] {bc09fefd-67bf-4f10-b4ae-655bb5af8375} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.667948 [ 2794 ] {5a6d2ad2-f8e4-4c27-842f-7d99b8124e42} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34000) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.685669 [ 2794 ] {5a6d2ad2-f8e4-4c27-842f-7d99b8124e42} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.706007 [ 2793 ] {44f3eb4b-e9e3-40d7-8d16-b63481e02467} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34010) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.726077 [ 2793 ] {44f3eb4b-e9e3-40d7-8d16-b63481e02467} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.808109 [ 16575 ] {b2f23522-38f9-412f-af39-e06a71d110ac} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34004) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.815662 [ 16575 ] {b2f23522-38f9-412f-af39-e06a71d110ac} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000003bf7daf2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:538: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000003bf4b56c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000003da13274 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06622 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.825620 [ 16971 ] {a4f58c24-7f8d-4126-846c-951ce3d407ad} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33938) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.837327 [ 16971 ] {a4f58c24-7f8d-4126-846c-951ce3d407ad} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.864500 [ 1131 ] {b16148b9-4173-489d-9954-3d6f92192661} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33962) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.875058 [ 1131 ] {b16148b9-4173-489d-9954-3d6f92192661} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:40.944627 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:40.948471 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:40.965671 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:40.968302 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:40.982457 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:40.986307 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:40.999038 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:41.001189 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:41.015420 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:41.017871 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:41.035081 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:41.037317 [ 1131 ] {1f413eda-a482-4744-b888-b55515658f2d} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34054) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.037625 [ 16757 ] {31990b05-e02e-417e-aedd-84eae61b1ade} test_cb6m05sb.concurrent_optimize_table (e98d5e7b-4eec-41b4-b65d-ea071e8daf4c): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:41.040002 [ 1131 ] {1f413eda-a482-4744-b888-b55515658f2d} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.201464 [ 29466 ] {2b23512a-43ea-48e6-970a-4261ef46176d} executeQuery: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33988) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.214109 [ 29466 ] {2b23512a-43ea-48e6-970a-4261ef46176d} TCPHandler: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.475542 [ 29463 ] {9437e48a-9902-46b7-a6b5-3ddbbd247997} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34102) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.480523 [ 29463 ] {9437e48a-9902-46b7-a6b5-3ddbbd247997} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.528126 [ 29466 ] {6c20415f-9c99-444b-a052-aaf5b40b12f7} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34106) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.531378 [ 29466 ] {6c20415f-9c99-444b-a052-aaf5b40b12f7} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.711277 [ 2793 ] {1a598322-4c9e-41ea-8b46-e516a34b224e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34072) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.712281 [ 16575 ] {82d6076c-94cf-4feb-9e77-515ae1d3db3a} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34086) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.721415 [ 29461 ] {70321a9e-f67b-4cc3-a49b-2bdce5a490ba} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34080) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.747090 [ 29461 ] {70321a9e-f67b-4cc3-a49b-2bdce5a490ba} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.748609 [ 16575 ] {82d6076c-94cf-4feb-9e77-515ae1d3db3a} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.749266 [ 2793 ] {1a598322-4c9e-41ea-8b46-e516a34b224e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.817297 [ 29463 ] {6d2413d2-8c36-4da3-9376-59e96d6485e0} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34152) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:41.824863 [ 29463 ] {6d2413d2-8c36-4da3-9376-59e96d6485e0} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.057111 [ 16669 ] {481c89d0-3e0b-4103-949c-8dd86d176626} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34154) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.060120 [ 16669 ] {481c89d0-3e0b-4103-949c-8dd86d176626} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.226708 [ 2793 ] {9adb12cc-1502-4e44-a025-82bf1dd27b74} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34188) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.231088 [ 2793 ] {9adb12cc-1502-4e44-a025-82bf1dd27b74} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.263940 [ 16757 ] {dd993fe0-2bc6-4314-abeb-bc5d3e8d0955} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34204) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.268733 [ 29463 ] {d3c7910d-fdc0-40b1-8265-53c9e887d30e} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34212) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.269232 [ 16757 ] {dd993fe0-2bc6-4314-abeb-bc5d3e8d0955} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.274936 [ 29463 ] {d3c7910d-fdc0-40b1-8265-53c9e887d30e} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.335044 [ 8779 ] {afbf9e64-71ab-4c6e-b034-22e751bd87e5} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34220) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.339161 [ 8779 ] {afbf9e64-71ab-4c6e-b034-22e751bd87e5} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.430742 [ 8849 ] {f8c47e55-1f96-456b-8f64-9df8f0d8280a} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34226) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.435136 [ 8849 ] {f8c47e55-1f96-456b-8f64-9df8f0d8280a} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.808093 [ 8849 ] {27114204-5eea-4bd4-9e86-13aac3795bef} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34268) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.823405 [ 8849 ] {27114204-5eea-4bd4-9e86-13aac3795bef} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.848207 [ 8779 ] {c0ec68b7-ba58-4789-98f7-d849fa005fa6} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34258) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.862930 [ 9399 ] {ea130b54-f51b-417a-ac1d-51671afb9d18} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34282) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.866388 [ 9399 ] {ea130b54-f51b-417a-ac1d-51671afb9d18} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.893891 [ 8779 ] {c0ec68b7-ba58-4789-98f7-d849fa005fa6} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.979685 [ 670 ] {8883813c-1d8e-48d9-beb7-389231958893} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34298) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:42.987169 [ 670 ] {8883813c-1d8e-48d9-beb7-389231958893} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.017488 [ 17867 ] {7cb0cbac-a0a0-49cf-811b-b1a3596519be} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34294) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.025207 [ 17867 ] {7cb0cbac-a0a0-49cf-811b-b1a3596519be} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.077395 [ 16615 ] {fe0d52a5-f99c-4375-a97a-58652ad5dd91} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34312) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.082855 [ 16564 ] {8096e191-647c-4901-af83-82372a826898} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34308) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.096323 [ 16564 ] {8096e191-647c-4901-af83-82372a826898} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.100184 [ 16615 ] {fe0d52a5-f99c-4375-a97a-58652ad5dd91} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.259961 [ 1077 ] {af8acbd4-01ff-4980-9b38-669254910c95} test_cb6m05sb.concurrent_optimize_table (b3b7ebee-f86a-4bde-9bd2-d2e100c33f50): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:43.264302 [ 1077 ] {af8acbd4-01ff-4980-9b38-669254910c95} test_cb6m05sb.concurrent_optimize_table (b3b7ebee-f86a-4bde-9bd2-d2e100c33f50): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:43.276558 [ 1077 ] {af8acbd4-01ff-4980-9b38-669254910c95} test_cb6m05sb.concurrent_optimize_table (b3b7ebee-f86a-4bde-9bd2-d2e100c33f50): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:43.279493 [ 1077 ] {af8acbd4-01ff-4980-9b38-669254910c95} test_cb6m05sb.concurrent_optimize_table (b3b7ebee-f86a-4bde-9bd2-d2e100c33f50): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:43.344981 [ 8849 ] {edc64605-04ec-474c-b407-c2e544dfcfaa} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44012) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.348848 [ 8849 ] {edc64605-04ec-474c-b407-c2e544dfcfaa} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.409672 [ 5015 ] {90fb926a-43c9-47f9-b97f-2a2df5ee00d0} executeQuery: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34324) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.415159 [ 5015 ] {90fb926a-43c9-47f9-b97f-2a2df5ee00d0} TCPHandler: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.870041 [ 8779 ] {d7b5c377-3fe6-4f27-a699-de5e762f7c17} executeQuery: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44090) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.873991 [ 8779 ] {d7b5c377-3fe6-4f27-a699-de5e762f7c17} TCPHandler: Code: 218. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000001cdb1715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000003ba25d1a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003edb3b8c in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039aadcab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab7d0e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.967199 [ 1130 ] {1f61a352-c3c3-468a-ac28-c5105aac281f} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44112) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.970476 [ 1130 ] {1f61a352-c3c3-468a-ac28-c5105aac281f} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:43.999679 [ 8849 ] {9e403120-b606-4031-9085-da0432934a77} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44036) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.014169 [ 8849 ] {9e403120-b606-4031-9085-da0432934a77} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.055712 [ 670 ] {fc20486a-d8a1-4c86-aadb-5bcec9a441c8} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44076) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.064404 [ 670 ] {fc20486a-d8a1-4c86-aadb-5bcec9a441c8} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.103311 [ 16564 ] {f641f6a4-79b7-477f-93c9-30b4b9f9aae8} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44088) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.115899 [ 16564 ] {f641f6a4-79b7-477f-93c9-30b4b9f9aae8} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.119013 [ 29470 ] {db0d737c-51c8-49b6-a7c1-c903e072cc9e} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44116) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.123306 [ 29470 ] {db0d737c-51c8-49b6-a7c1-c903e072cc9e} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.261809 [ 9399 ] {d6aa6ee3-0639-4c73-9170-aa179368d8f0} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44136) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.264615 [ 9399 ] {d6aa6ee3-0639-4c73-9170-aa179368d8f0} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.607537 [ 16671 ] {3141d986-b3f1-4faa-82c4-f5e9b2d8b81c} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44206) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.611372 [ 16671 ] {3141d986-b3f1-4faa-82c4-f5e9b2d8b81c} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.633206 [ 8562 ] {a85e1cb2-bb62-463b-b718-4352685d154f} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44218) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.637525 [ 8562 ] {a85e1cb2-bb62-463b-b718-4352685d154f} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.656151 [ 1077 ] {a1f12074-5bc7-4d51-a388-90282d8f890f} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44210) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.659748 [ 1077 ] {a1f12074-5bc7-4d51-a388-90282d8f890f} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000039aa6bf3 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab19f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.757946 [ 5015 ] {d798015d-0ceb-49f4-b2e6-9c7a9a7c0315} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44186) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.768082 [ 5015 ] {d798015d-0ceb-49f4-b2e6-9c7a9a7c0315} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000003d9a926e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000003d9622e8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d960924 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d93a9f2 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:376: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d95abf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:44.838386 [ 8849 ] {8295ad83-25c7-4743-bd35-712ea2f6434c} test_cb6m05sb.concurrent_optimize_table (414623f8-39c0-4d08-8cb1-0e37ad3b50c0): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:44.841157 [ 8849 ] {8295ad83-25c7-4743-bd35-712ea2f6434c} test_cb6m05sb.concurrent_optimize_table (414623f8-39c0-4d08-8cb1-0e37ad3b50c0): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:44.854211 [ 8849 ] {8295ad83-25c7-4743-bd35-712ea2f6434c} test_cb6m05sb.concurrent_optimize_table (414623f8-39c0-4d08-8cb1-0e37ad3b50c0): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:44.856318 [ 8849 ] {8295ad83-25c7-4743-bd35-712ea2f6434c} test_cb6m05sb.concurrent_optimize_table (414623f8-39c0-4d08-8cb1-0e37ad3b50c0): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:45.017996 [ 16615 ] {53e5efb1-b0e6-49ec-9845-b14a517e5c9a} executeQuery: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44268) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:45.020931 [ 16615 ] {53e5efb1-b0e6-49ec-9845-b14a517e5c9a} TCPHandler: Code: 60. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039aeaa9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:45.175982 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:45.178496 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:45.188152 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:45.189858 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:45.204567 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:45.206666 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:45.219422 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table (this might take several minutes) 2024.12.17 03:25:45.229242 [ 9399 ] {1accc454-5dba-4c0b-85dd-6b5b1fdbfdbe} test_cb6m05sb.concurrent_optimize_table (528f7cdf-4eb0-4ae3-9d85-4dedd1743386): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table were removed by another replica 2024.12.17 03:25:45.352842 [ 9398 ] {0284b63f-d385-4c72-ab79-23a2e1db9607} executeQuery: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44244) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_cb6m05sb/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 10081, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 15539, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 18700311, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97339, primary_key_compress_block_size = 66215), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:45.371692 [ 9398 ] {0284b63f-d385-4c72-ab79-23a2e1db9607} TCPHandler: Code: 57. DB::Exception: Table test_cb6m05sb.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393fa7ed in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:45.597452 [ 9399 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:44204). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:46.082108 [ 5015 ] {a75b03de-c2c4-43ae-b3db-a347b47009e2} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44302). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44302) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.084730 [ 5015 ] {a75b03de-c2c4-43ae-b3db-a347b47009e2} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44302). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:46.085221 [ 5015 ] {a75b03de-c2c4-43ae-b3db-a347b47009e2} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44302). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.086183 [ 5015 ] {a75b03de-c2c4-43ae-b3db-a347b47009e2} TCPHandler: Client has gone away. 2024.12.17 03:25:46.348354 [ 1077 ] {06f8f437-7a3c-4bcb-a0c3-bb7e741704dc} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:44326). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44326) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0cb432 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:533: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e0f2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:99: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f632a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:546: DB::TCPHandler::runImpl() @ 0x000000003e0a7828 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.364521 [ 1077 ] {06f8f437-7a3c-4bcb-a0c3-bb7e741704dc} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44326). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:46.365249 [ 1077 ] {06f8f437-7a3c-4bcb-a0c3-bb7e741704dc} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:44326). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0cb432 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:533: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e0f2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:99: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f632a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:546: DB::TCPHandler::runImpl() @ 0x000000003e0a7828 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.367708 [ 1077 ] {06f8f437-7a3c-4bcb-a0c3-bb7e741704dc} TCPHandler: Client has gone away. 2024.12.17 03:25:46.374048 [ 16615 ] {8cdf0e08-c275-49f3-9be1-e4be090ecafe} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:44316). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44316) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0cb432 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:533: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e0f2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:99: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f632a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:546: DB::TCPHandler::runImpl() @ 0x000000003e0a7828 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.383247 [ 8562 ] {650b5399-fb34-4b1d-8313-aae5a63287b9} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44342). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44342) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.384347 [ 16615 ] {8cdf0e08-c275-49f3-9be1-e4be090ecafe} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44316). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:46.384894 [ 16615 ] {8cdf0e08-c275-49f3-9be1-e4be090ecafe} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:44316). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0cb432 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:533: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e0f2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:99: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f632a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:546: DB::TCPHandler::runImpl() @ 0x000000003e0a7828 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.385529 [ 8562 ] {650b5399-fb34-4b1d-8313-aae5a63287b9} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44342). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:46.385858 [ 16615 ] {8cdf0e08-c275-49f3-9be1-e4be090ecafe} TCPHandler: Client has gone away. 2024.12.17 03:25:46.385950 [ 8562 ] {650b5399-fb34-4b1d-8313-aae5a63287b9} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44342). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0d3ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7936 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:46.386760 [ 8562 ] {650b5399-fb34-4b1d-8313-aae5a63287b9} TCPHandler: Client has gone away. 2024.12.17 03:25:48.521656 [ 16742 ] {dd7acd20-e1fa-4e64-9c6b-f52e123e91d9} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 1 ('BADREQUEST'): BADREQUEST . Expected one of: Query, Query with output, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW COLUMNS query, SHOW ENGINES query, SHOW ENGINES, SHOW INDEXES query, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER LIVE VIEW, ALTER DATABASE, RENAME query, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME DATABASE, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, MOVE access entity query, MOVE, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE, BACKUP or RESTORE query, BACKUP, RESTORE. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43498) (comment: 01071_http_header_exception_code.sh) (in query: BADREQUEST ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff2093b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff20a90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99640c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:48.524069 [ 16742 ] {dd7acd20-e1fa-4e64-9c6b-f52e123e91d9} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 1 ('BADREQUEST'): BADREQUEST . Expected one of: Query, Query with output, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW COLUMNS query, SHOW ENGINES query, SHOW ENGINES, SHOW INDEXES query, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER LIVE VIEW, ALTER DATABASE, RENAME query, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME DATABASE, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, MOVE access entity query, MOVE, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE, BACKUP or RESTORE query, BACKUP, RESTORE. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff2093b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff20a90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99640c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:49.396184 [ 9398 ] {8d3e98e9-aa54-4250-bd17-d4122fca02d8} executeQuery: Code: 60. DB::Exception: Table test_wrw7qspz.test_table_for_01070_exception_code_in_query_log_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44592) (comment: 01070_exception_code_in_query_log_table.sql) (in query: SELECT * FROM test_table_for_01070_exception_code_in_query_log_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:49.948461 [ 9398 ] {8d3e98e9-aa54-4250-bd17-d4122fca02d8} TCPHandler: Code: 60. DB::Exception: Table test_wrw7qspz.test_table_for_01070_exception_code_in_query_log_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:49.948609 [ 16742 ] {51ba4863-63fa-4e13-b0c7-5aa2c8c101a1} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44610) (comment: 01070_h3_to_children.sql) (in query: SELECT h3ToChildren(599405990164561919, 16);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001363cca7 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:25:49.950712 [ 16742 ] {51ba4863-63fa-4e13-b0c7-5aa2c8c101a1} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001363cca7 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:25:50.557302 [ 17871 ] {e23650be-2c69-48da-8bd7-a0b3cf1e9002} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(9, 1) from String: While processing toDecimal32('e', 1). (CANNOT_PARSE_NUMBER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44690) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal32('e', 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362e37f7 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d8659b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036f0ec5f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa84851 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa6e9f8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa42a52 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa414c2 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa3fdc2 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:25:50.560090 [ 17871 ] {e23650be-2c69-48da-8bd7-a0b3cf1e9002} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(9, 1) from String: While processing toDecimal32('e', 1). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362e37f7 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d8659b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036f0ec5f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa84851 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa6e9f8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa42a52 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa414c2 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa3fdc2 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:25:51.156131 [ 17871 ] {5684003a-a01e-49a9-8c34-98ce4c277d05} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(18, 2) from String: While processing toDecimal64('e', 2). (CANNOT_PARSE_NUMBER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44690) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal64('e', 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362e59bd in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d87811 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036f11a5f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aad07ec in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaba818 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa8e652 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8d0c2 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8b9c2 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:25:51.159325 [ 17871 ] {5684003a-a01e-49a9-8c34-98ce4c277d05} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(18, 2) from String: While processing toDecimal64('e', 2). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362e59bd in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d87811 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036f11a5f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aad07ec in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaba818 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa8e652 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8d0c2 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa8b9c2 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:25:51.768143 [ 17871 ] {59ec6b88-7d51-42d8-adea-c1417675c99b} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(38, 3) from String: While processing toDecimal128('e', 3). (CANNOT_PARSE_NUMBER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44690) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal128('e', 3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x00000000362e82d9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d88b13 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036f14a80 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab1e3d1 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ab07598 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aada632 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad90a2 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad79a2 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:25:51.771315 [ 17871 ] {59ec6b88-7d51-42d8-adea-c1417675c99b} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(38, 3) from String: While processing toDecimal128('e', 3). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094cf470 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x00000000362e82d9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d88b13 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036f14a80 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab1e3d1 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ab07598 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aada632 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad90a2 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad79a2 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:25:52.577098 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx14_3095} test_eszzulgz.test (b412a7e8-1d9c-4124-8e56-2a82be94661a): Cannot find transaction (90, 53, 7c1a324c-0506-4ed2-a901-fa5e80ec6978) which had started mutation mutation_21.txt, probably it finished 2024.12.17 03:25:52.814053 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx15_11153} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 8182709205147637832'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54522) (in query: alter table test delete where value = 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:52.816078 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx15_11153} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 8182709205147637832'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:52.932148 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx15_18545} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54548) (in query: select 17, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:52.934454 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx15_18545} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x0000000014232717 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99c87b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:52.986578 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx15_21667} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54556) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:52.988638 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx15_21667} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:53.620555 [ 9401 ] {a0894620-71bc-4564-bca7-93e275ee16c1} executeQuery: Code: 48. DB::Exception: Table engine Join supports only DELETE mutations. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01162_strange_mutations.sh) (in query: ALTER TABLE test UPDATE test = (SELECT groupArray(id) FROM t1)[n - 99] WHERE 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:120: DB::StorageJoin::checkMutationIsPossible(DB::MutationCommands const&, DB::Settings const&) const @ 0x000000003bcd029b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f7f43 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:53.624829 [ 9401 ] {a0894620-71bc-4564-bca7-93e275ee16c1} TCPHandler: Code: 48. DB::Exception: Table engine Join supports only DELETE mutations. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:120: DB::StorageJoin::checkMutationIsPossible(DB::MutationCommands const&, DB::Settings const&) const @ 0x000000003bcd029b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f7f43 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:59.328702 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx16_2163} test_eszzulgz.test (b412a7e8-1d9c-4124-8e56-2a82be94661a): Cannot find transaction (92, 41, 7c1a324c-0506-4ed2-a901-fa5e80ec6978) which had started mutation mutation_28.txt, probably it finished 2024.12.17 03:25:59.588882 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx17_896} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 5935377516197980323'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34996) (in query: alter table test update value = 11 where id = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:59.591349 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx17_896} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 5935377516197980323'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d40b604 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d40aeb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da2b64d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da2db33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:25:59.698581 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx17_13021} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35008) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:25:59.700177 [ 9470 ] {01167_isolation_hermitage_test_eszzulgz_tx17_13021} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000039dfabf7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000039df8bf4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:26:03.021120 [ 29461 ] {5458658f-5807-41a7-98f4-f73e0ca85a3c} executeQuery: Code: 42. DB::Exception: Storage ODBC requires exactly 3 parameters: ODBC('DSN', database or schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44290) (comment: 01033_storage_odbc_parsing_exception_check.sql) (in query: CREATE TABLE BannerDict (`BannerID` UInt64, `CompaignID` UInt64) ENGINE = ODBC('DSN=pgconn;Database=postgres', bannerdict);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageXDBC.cpp:174: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl(DB::StorageFactory&, String const&)::'lambda'(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c53a851 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:03.023906 [ 29461 ] {5458658f-5807-41a7-98f4-f73e0ca85a3c} TCPHandler: Code: 42. DB::Exception: Storage ODBC requires exactly 3 parameters: ODBC('DSN', database or schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageXDBC.cpp:174: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl(DB::StorageFactory&, String const&)::'lambda'(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c53a851 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:05.610605 [ 16575 ] {3dfe044d-8a8a-46f4-b3a8-c68fc2d6a6ec} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38910) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x00000000093c23b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000003e13187b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000003c4da869 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e77a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:05.612879 [ 16575 ] {3dfe044d-8a8a-46f4-b3a8-c68fc2d6a6ec} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x00000000093c23b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000003e13187b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000003c4da869 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e77a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:05.993794 [ 16575 ] {6ea9e61e-90b3-4f5f-a536-95a9e27f30fc} executeQuery: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38910) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('','','','') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const* const&) @ 0x000000003bdc4436 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageURL.cpp:1287: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000003c4daed7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e77a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:05.996362 [ 16575 ] {6ea9e61e-90b3-4f5f-a536-95a9e27f30fc} TCPHandler: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const* const&) @ 0x000000003bdc4436 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageURL.cpp:1287: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000003c4daed7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e77a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:06.056222 [ 16575 ] {710fd3a5-6243-4972-8ca2-98681a6564e0} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38910) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x00000000093c23b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000003e13187b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000003c4da869 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e77a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:06.058594 [ 16575 ] {710fd3a5-6243-4972-8ca2-98681a6564e0} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x00000000093c23b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000003e13187b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000003c4da869 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e77a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:06.595531 [ 16575 ] {1868d677-a535-4ba6-8146-fe2b612e10a1} executeQuery: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38910) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'ErrorFormat') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:786: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000003e136551 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4b777b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cfe29 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51671b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51638d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e7c21 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:06.598369 [ 16575 ] {1868d677-a535-4ba6-8146-fe2b612e10a1} TCPHandler: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:786: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000003e136551 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4b777b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cfe29 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51671b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51638d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e7c21 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:08.655330 [ 16575 ] {7492fa90-4113-4b75-90c6-383eeea63357} executeQuery: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38910) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'zip') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x000000002b1d0296 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:115: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4b707a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cfe29 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51671b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51638d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e7c21 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:08.658711 [ 16575 ] {7492fa90-4113-4b75-90c6-383eeea63357} TCPHandler: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x000000002b1d0296 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:115: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4b707a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000003c4cfe29 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51671b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000003c51638d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003c4e7c21 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:09.308331 [ 9402 ] {01167_isolation_hermitage_test_eszzulgz_tx19_24612} test_eszzulgz.test (b412a7e8-1d9c-4124-8e56-2a82be94661a): Cannot find transaction (93, 45, 7c1a324c-0506-4ed2-a901-fa5e80ec6978) which had started mutation mutation_32.txt, probably it finished 2024.12.17 03:26:13.940871 [ 1077 ] {53e466d0-cf2d-4053-9ffb-b6e2e0dfef81} executeQuery: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) USING (B) no alias for subquery or table function SELECT 3 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41152) (comment: 01000_subquery_requires_alias.sql) (in query: SELECT * FROM (SELECT 1 as A, 2 as B) X ALL LEFT JOIN (SELECT 3 as A, 2 as B) USING (B);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2215: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ee19a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397e5cca in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x0000000039762abc in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:13.943562 [ 1077 ] {53e466d0-cf2d-4053-9ffb-b6e2e0dfef81} TCPHandler: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) USING (B) no alias for subquery or table function SELECT 3 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2215: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ee19a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397e5cca in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x0000000039762abc in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:14.382591 [ 1077 ] {b0aa32e4-0a81-49b5-b21d-a126f8584314} executeQuery: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) AS Y USING (B) no alias for subquery or table function SELECT 1 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) AS Y USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41152) (comment: 01000_subquery_requires_alias.sql) (in query: SELECT * FROM (SELECT 1 as A, 2 as B) ALL LEFT JOIN (SELECT 3 as A, 2 as B) Y USING (B);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2215: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ee19a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6622: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397e5c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x0000000039762abc in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:14.385548 [ 1077 ] {b0aa32e4-0a81-49b5-b21d-a126f8584314} TCPHandler: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) AS Y USING (B) no alias for subquery or table function SELECT 1 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) AS Y USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:2215: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397ee19a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6622: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000397e5c85 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x0000000039762abc in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ed75 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.233163 [ 1077 ] {b262302d-be24-41d5-8aab-80cddce227a6} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (00e1663a-88fa-4d9c-925a-50e35ac86fb7) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.235593 [ 1077 ] {b262302d-be24-41d5-8aab-80cddce227a6} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (00e1663a-88fa-4d9c-925a-50e35ac86fb7) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.355976 [ 1077 ] {11ef7738-5ced-4970-ba1f-0f8704d4ca27} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (00e1663a-88fa-4d9c-925a-50e35ac86fb7) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.357918 [ 1077 ] {11ef7738-5ced-4970-ba1f-0f8704d4ca27} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (00e1663a-88fa-4d9c-925a-50e35ac86fb7) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.688470 [ 1077 ] {256145b2-ef74-44f0-b00e-05cac06083ca} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (e92a3893-99ec-419e-90a1-f267b91c2e46) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.691161 [ 1077 ] {256145b2-ef74-44f0-b00e-05cac06083ca} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (e92a3893-99ec-419e-90a1-f267b91c2e46) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.843782 [ 1077 ] {2e868fad-42aa-4ca8-943e-c57d604f2153} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (e92a3893-99ec-419e-90a1-f267b91c2e46) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:15.864053 [ 1077 ] {2e868fad-42aa-4ca8-943e-c57d604f2153} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (e92a3893-99ec-419e-90a1-f267b91c2e46) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:16.362798 [ 1077 ] {9b120fdf-b75c-4acc-9a68-4c99dc3c1cdc} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (06732fff-db19-413e-9b4e-f7af5f847acb) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:16.399375 [ 1077 ] {9b120fdf-b75c-4acc-9a68-4c99dc3c1cdc} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (06732fff-db19-413e-9b4e-f7af5f847acb) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:16.564069 [ 1077 ] {0630da25-e8b7-4219-81d2-b7b94aa5ffba} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (06732fff-db19-413e-9b4e-f7af5f847acb) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:16.568814 [ 1077 ] {0630da25-e8b7-4219-81d2-b7b94aa5ffba} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (06732fff-db19-413e-9b4e-f7af5f847acb) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.149944 [ 1077 ] {9470f663-aa8c-44c5-bfb4-2a754070cbde} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (26235c5a-31c6-4b03-91b8-d8d5c57d0dc5) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.152377 [ 1077 ] {9470f663-aa8c-44c5-bfb4-2a754070cbde} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (26235c5a-31c6-4b03-91b8-d8d5c57d0dc5) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.320319 [ 1077 ] {ccf2af44-d688-4838-8820-074164a965a2} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (26235c5a-31c6-4b03-91b8-d8d5c57d0dc5) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.322376 [ 1077 ] {ccf2af44-d688-4838-8820-074164a965a2} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (26235c5a-31c6-4b03-91b8-d8d5c57d0dc5) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.757873 [ 17871 ] {f7cc0343-0896-46d7-995b-f2542a81168b} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(s :: 0, 'abc,def,zzz' :: 1) -> hasToken(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41458) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000001367d070 in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013679cd1 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000003d52aa1f in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1074: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d523d24 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d520044 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.768676 [ 17871 ] {f7cc0343-0896-46d7-995b-f2542a81168b} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(s :: 0, 'abc,def,zzz' :: 1) -> hasToken(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000001367d070 in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013679cd1 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000003d52aa1f in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1074: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d523d24 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d520044 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.857334 [ 1077 ] {d07e0420-5ded-4e64-a8d2-bb7a344dbb83} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (eb9cd656-50e4-413c-ac23-e6ab559c7c15) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:17.860196 [ 1077 ] {d07e0420-5ded-4e64-a8d2-bb7a344dbb83} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (eb9cd656-50e4-413c-ac23-e6ab559c7c15) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:18.340311 [ 17871 ] {ade7abc1-6a5b-4885-8afd-ef0ead6b3cb5} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(s :: 0, 'abc,def,zzz' :: 1) -> hasTokenCaseInsensitive(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41458) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasTokenCaseInsensitive(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x0000000013688bb0 in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013685811 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000003d52aa1f in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1074: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d523d24 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d520044 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:18.340351 [ 1077 ] {21dc129d-71e2-459b-a521-2a2d94ec3eb8} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (eb9cd656-50e4-413c-ac23-e6ab559c7c15) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:18.342721 [ 1077 ] {21dc129d-71e2-459b-a521-2a2d94ec3eb8} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_x698eea7.constrained (eb9cd656-50e4-413c-ac23-e6ab559c7c15) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:18.345513 [ 17871 ] {ade7abc1-6a5b-4885-8afd-ef0ead6b3cb5} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(s :: 0, 'abc,def,zzz' :: 1) -> hasTokenCaseInsensitive(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x0000000013688bb0 in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013685811 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000003d52aa1f in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1074: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d523d24 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d520044 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:18.968269 [ 1077 ] {7993d6e1-4d23-4ec8-a7c1-8c21ab00037e} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (9e5bdc9e-53d4-445b-8f96-43937937de6b) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:18.970400 [ 1077 ] {7993d6e1-4d23-4ec8-a7c1-8c21ab00037e} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained (9e5bdc9e-53d4-445b-8f96-43937937de6b) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:19.006835 [ 1077 ] {f81b8fb8-6bea-40a0-9a4e-ccaed502d7f6} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained2 (4a2302a6-a049-4c25-bc5c-c4faef1e1ab9) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41292) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:19.009195 [ 1077 ] {f81b8fb8-6bea-40a0-9a4e-ccaed502d7f6} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_x698eea7.constrained2 (4a2302a6-a049-4c25-bc5c-c4faef1e1ab9) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000003eb4128e in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000003eb3f068 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e241859 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c147e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:21.749295 [ 1129 ] {cdb9e117-cb74-4a89-9ff3-8ae58a0d2f22} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(x, 1500000) :: 4) -> throwIf(equals(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41810) (comment: 00995_exception_while_insert.sh) (in query: INSERT INTO check(x) FORMAT TSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:41: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000003eba2b46 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e241236 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e241514 in /usr/bin/clickhouse 18. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c0e49 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:21.749694 [ 17871 ] {6a1324ae-6593-4fff-8b70-1a142748109d} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41458) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- invert result -- this does not work as expected, reading more rows that it should -- SELECT max(id) FROM bloom_filter WHERE NOT hasToken(s, 'yyy'); -- accessing to many rows SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'yyy');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.159590 [ 17871 ] {6a1324ae-6593-4fff-8b70-1a142748109d} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.159812 [ 9402 ] {95be9201-69cb-4540-af98-63ccdf0db1fc} executeQuery: Code: 269. DB::Exception: Distributed table distr looks at itself. (INFINITE_LOOP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42224) (comment: 00987_distributed_stack_overflow.sql) (in query: CREATE TABLE distr (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5f7e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000003bbc572b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bbb5704 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.159943 [ 1129 ] {cdb9e117-cb74-4a89-9ff3-8ae58a0d2f22} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(x, 1500000) :: 4) -> throwIf(equals(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:41: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000003eba2b46 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e241236 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e241514 in /usr/bin/clickhouse 18. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::processInsertQuery() @ 0x000000003e0c0e49 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a75d7 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.164275 [ 9402 ] {95be9201-69cb-4540-af98-63ccdf0db1fc} TCPHandler: Code: 269. DB::Exception: Distributed table distr looks at itself. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5f7e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000003bbc572b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bbb5704 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.189120 [ 9402 ] {a04e92e8-a0d3-4768-9766-a7eaf7864d9e} StorageDistributed (distr0): Name of remote database is empty. Default database will be used implicitly. 2024.12.17 03:26:22.434450 [ 1129 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::NetException::NetException(int, char const (&) [44]) @ 0x000000003e0f6076 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:1848: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x000000003e0e40db in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000003e0be864 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.434889 [ 9402 ] {a04e92e8-a0d3-4768-9766-a7eaf7864d9e} executeQuery: Code: 269. DB::Exception: Distributed table distr0 looks at itself. (INFINITE_LOOP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42224) (comment: 00987_distributed_stack_overflow.sql) (in query: CREATE TABLE distr0 (x UInt8) ENGINE = Distributed(test_shard_localhost, '', distr0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5f7e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000003bbc572b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bbb5704 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.438057 [ 17871 ] {120354f5-e375-4df7-811a-5fc74820ee91} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41458) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- this syntax is not supported by tokenbf SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'zzz') == 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.443821 [ 9402 ] {a04e92e8-a0d3-4768-9766-a7eaf7864d9e} TCPHandler: Code: 269. DB::Exception: Distributed table distr0 looks at itself. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000003bb5f7e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000003bbc572b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bbb5704 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.444283 [ 17871 ] {120354f5-e375-4df7-811a-5fc74820ee91} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000036ac6522 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5c55 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1f1784 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f10f023 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1698d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d39b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:22.622843 [ 9402 ] {51547ec5-b88c-4f09-8c18-ac25c62033ab} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42224) (comment: 00987_distributed_stack_overflow.sql) (in query: SELECT * FROM distr1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbda3ea in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 2024.12.17 03:26:22.625502 [ 9402 ] {51547ec5-b88c-4f09-8c18-ac25c62033ab} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbda3ea in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 2024.12.17 03:26:22.738055 [ 9402 ] {1c2a91e0-3c55-42d7-952a-bf8578648b4e} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42224) (comment: 00987_distributed_stack_overflow.sql) (in query: SELECT * FROM distr2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbda3ea in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 2024.12.17 03:26:22.740729 [ 9402 ] {1c2a91e0-3c55-42d7-952a-bf8578648b4e} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbda3ea in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000003f0ca655 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000003bbcc465 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000003bbc93cb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000003bbd6ea4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bb73aab in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 2024.12.17 03:26:25.382649 [ 29476 ] {9e8cd9fe-831d-47fc-bac7-375379447178} executeQuery: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:32964) (comment: 00984_parser_stack_overflow.sh) (in query: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/ExpressionListParsers.h:91: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd82fb9 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fea1fda in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd20556 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee599b in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.h:91: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd82fb9 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fea1fda in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd20556 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee599b in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/ExpressionListParsers.h:91: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd82fb9 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fea1fda in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd20556 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee599b in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 2024.12.17 03:26:25.385853 [ 29476 ] {9e8cd9fe-831d-47fc-bac7-375379447178} DynamicQueryHandler: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/ExpressionListParsers.h:91: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd82fb9 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fea1fda in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd20556 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee599b in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.h:91: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd82fb9 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fea1fda in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd20556 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee599b in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/ExpressionListParsers.h:91: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd82fb9 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fea1fda in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd20556 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee599b in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:26:26.292388 [ 17371 ] {964680af-fee1-4dbd-911c-c7dde1d89dbd} executeQuery: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:32980) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:833: DB::ParserNull::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd3d1d1 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserLiteral::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd4928e in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1215: DB::ParserCollectionOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd7310c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ExpressionElementParsers.h:313: DB::ParserArrayOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003eadf34d in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2566: DB::ParserExpressionImpl::tryParseOperand(std::vector>, std::allocator>>>&, DB::IParser::Pos&, DB::Expected&) @ 0x000000003fd9563d in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionImpl::parse(std::unique_ptr>, DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd90f8d in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2299: DB::ParserExpression::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd909d6 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:2012: DB::ParserWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd64595 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.h:208: DB::ParserExpressionWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x0000000020f5a1ce in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd88a4d in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:325: DB::ParserNotEmptyExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd88d12 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ParserSelectQuery.cpp:171: DB::ParserSelectQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee90d9 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee5a10 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse 2024.12.17 03:26:26.294825 [ 17371 ] {964680af-fee1-4dbd-911c-c7dde1d89dbd} DynamicQueryHandler: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353ffa17 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded644 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:833: DB::ParserNull::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd3d1d1 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserLiteral::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd4928e in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1215: DB::ParserCollectionOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd7310c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ExpressionElementParsers.h:313: DB::ParserArrayOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003eadf34d in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2566: DB::ParserExpressionImpl::tryParseOperand(std::vector>, std::allocator>>>&, DB::IParser::Pos&, DB::Expected&) @ 0x000000003fd9563d in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionImpl::parse(std::unique_ptr>, DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd90f8d in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2299: DB::ParserExpression::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd909d6 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:2012: DB::ParserWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd64595 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.h:208: DB::ParserExpressionWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x0000000020f5a1ce in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda348c in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd8230e in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd88a4d in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:325: DB::ParserNotEmptyExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fd88d12 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/ParserSelectQuery.cpp:171: DB::ParserSelectQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee90d9 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fee5a10 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000003fded195 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000003fda386c in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:26:27.936996 [ 16574 ] {36f7f4ea-745a-4522-b720-905e829310be} executeQuery: Code: 153. DB::Exception: Division by zero: While processing intDiv(-1, 0). (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46078) (comment: 00977_int_div.sql) (in query: SELECT -1 DIV 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::impl_::BinaryOperation, signed char>::process(signed char, char8_t) @ 0x000000001437bd4d in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014848980 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000148416be in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473aa18 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:26:27.939850 [ 16574 ] {36f7f4ea-745a-4522-b720-905e829310be} TCPHandler: Code: 153. DB::Exception: Division by zero: While processing intDiv(-1, 0). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::impl_::BinaryOperation, signed char>::process(signed char, char8_t) @ 0x000000001437bd4d in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014848980 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000148416be in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473aa18 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:26:28.361176 [ 16971 ] {a6eb4099-de0c-490e-8093-59e90baf8df1} executeQuery: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46136) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', toUInt64(-1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:561: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e84bf in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:28.365241 [ 16971 ] {a6eb4099-de0c-490e-8093-59e90baf8df1} TCPHandler: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:561: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e84bf in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:28.789756 [ 16971 ] {5fab6418-5ad5-4cfe-8a57-06c78c4ed020} executeQuery: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46136) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', NULL);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:556: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e8275 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:28.791978 [ 16971 ] {5fab6418-5ad5-4cfe-8a57-06c78c4ed020} TCPHandler: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:556: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e8275 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a54a61 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:32.867376 [ 29466 ] {1310d366-6c2f-4ec8-85af-c43e5e85d560} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, FETCH, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:32994) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]' FRRRROM numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff2093b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff20a90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99640c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:32.869076 [ 29466 ] {1310d366-6c2f-4ec8-85af-c43e5e85d560} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, FETCH, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff2093b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff20a90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99640c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:26:33.644904 [ 2794 ] {1e52158d-b295-4205-9de5-441e81b80ef6} executeQuery: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60910) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:33.647905 [ 2794 ] {1e52158d-b295-4205-9de5-441e81b80ef6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:34.258213 [ 2794 ] {56aeafe6-c4c0-40fe-b3b6-5701992ee7d4} executeQuery: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57052) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:34.260482 [ 2794 ] {56aeafe6-c4c0-40fe-b3b6-5701992ee7d4} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:26:35.086164 [ 29466 ] {95b15c54-c892-4f7e-84c4-2db74589b698} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed611a7 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:35.518020 [ 29466 ] {95b15c54-c892-4f7e-84c4-2db74589b698} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed611a7 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:35.518235 [ 2794 ] {451b3491-3db5-44d9-9861-a55dddf36bc1} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100 :: 1, minus(number, 10) :: 4) -> intDiv(100, minus(number, 10)) Int8 : 2'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60952) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]', intDiv( 100, number - 10) FROM numbers(11) FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, signed char>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, signed char*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000014213fb7 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001475474f in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000001473e9ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a15c in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:35.521559 [ 2794 ] {451b3491-3db5-44d9-9861-a55dddf36bc1} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100 :: 1, minus(number, 10) :: 4) -> intDiv(100, minus(number, 10)) Int8 : 2'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, signed char>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, signed char*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000014213fb7 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001475474f in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000001473e9ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a15c in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 25. ? @ 0x00007fe21c2faac3 in ? 26. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:36.146161 [ 29466 ] {98614860-a9f1-4bde-a439-2ff0613b3a41} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 2: While processing format('{{}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{{}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61d5b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:36.149854 [ 29466 ] {98614860-a9f1-4bde-a439-2ff0613b3a41} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 2: While processing format('{{}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61d5b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:36.785004 [ 29466 ] {c3d40afd-48b0-422a-9d6f-6cdb08cda552} executeQuery: Code: 36. DB::Exception: Two open curly braces without close one at position 2: While processing format('{ {}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{ {}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61c1d in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:36.788074 [ 29466 ] {c3d40afd-48b0-422a-9d6f-6cdb08cda552} TCPHandler: Code: 36. DB::Exception: Two open curly braces without close one at position 2: While processing format('{ {}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61c1d in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:36.824352 [ 29466 ] {cfb57f7f-0b9c-4235-a085-2424f707840b} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 0: While processing format('}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61d5b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:36.827329 [ 29466 ] {cfb57f7f-0b9c-4235-a085-2424f707840b} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 0: While processing format('}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61d5b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:36.928492 [ 29466 ] {bac7b346-6991-4714-845f-f181698c0f35} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{}}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{}}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed611a7 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:36.930388 [ 29466 ] {bac7b346-6991-4714-845f-f181698c0f35} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{}}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed611a7 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:37.609371 [ 29466 ] {31bff40a-b8b2-48e5-a174-f798b775e698} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{2 }', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{2 }', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:37.612043 [ 29466 ] {31bff40a-b8b2-48e5-a174-f798b775e698} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{2 }', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:37.653726 [ 29466 ] {f0abd3cf-d687-4ab2-8ab1-b9b7ec8bdfe4} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 13: While processing format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61d5b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:37.656183 [ 29466 ] {f0abd3cf-d687-4ab2-8ab1-b9b7ec8bdfe4} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 13: While processing format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61d5b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.297812 [ 29466 ] {66815aa3-cf8a-4498-b7f1-b383d3add99f} executeQuery: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{sometext}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{sometext}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61911 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.300720 [ 29466 ] {66815aa3-cf8a-4498-b7f1-b383d3add99f} TCPHandler: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{sometext}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61911 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.342898 [ 29466 ] {ccc1b4c4-3355-41f5-adf0-49328c12664a} executeQuery: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{\0sometext}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{\0sometext}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61911 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.344913 [ 29466 ] {ccc1b4c4-3355-41f5-adf0-49328c12664a} TCPHandler: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{\0sometext}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000a842658 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61911 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.388124 [ 29466 ] {d02283e2-bdf9-4a59-801c-9b38c5918637} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{1023}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{1023}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.391877 [ 29466 ] {d02283e2-bdf9-4a59-801c-9b38c5918637} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{1023}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.431837 [ 29466 ] {3b6fb9fb-78ad-49d3-aadf-88bd00ac85d2} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{10000000000000000000000000000000000000000000000000}', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{10000000000000000000000000000000000000000000000000}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:38.434178 [ 29466 ] {3b6fb9fb-78ad-49d3-aadf-88bd00ac85d2} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{10000000000000000000000000000000000000000000000000}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:39.066091 [ 29466 ] {830ba23c-495c-4992-806b-67dbbc1c3b9c} executeQuery: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{} {0}', '', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{} {0}', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x000000000b1c6157 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61f61 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:39.069312 [ 29466 ] {830ba23c-495c-4992-806b-67dbbc1c3b9c} TCPHandler: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{} {0}', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x000000000b1c6157 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61f61 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:39.684117 [ 29466 ] {d34963c9-80eb-45ef-811a-025b285e3122} executeQuery: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{0} {}', '', ''). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('{0} {}', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x000000000b1c6157 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61ee8 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:39.687192 [ 29466 ] {d34963c9-80eb-45ef-811a-025b285e3122} TCPHandler: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{0} {}', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x000000000b1c6157 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61ee8 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:40.307449 [ 29466 ] {8b20b54d-b690-4229-9e64-f0db87ce99cd} executeQuery: Code: 36. DB::Exception: Argument is too big for formatting: While processing format('Hello {} World {} {}{}', 'first', 'second', 'third'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('Hello {} World {} {}{}', 'first', 'second', 'third') from system.numbers limit 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61e6c in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:40.310249 [ 29466 ] {8b20b54d-b690-4229-9e64-f0db87ce99cd} TCPHandler: Code: 36. DB::Exception: Argument is too big for formatting: While processing format('Hello {} World {} {}{}', 'first', 'second', 'third'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000009431877 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61e6c in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:40.349511 [ 29466 ] {2466588f-4f5d-4db1-97a9-fbc4df0e2af9} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 2: While processing format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third') from system.numbers limit 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:40.351655 [ 29466 ] {2466588f-4f5d-4db1-97a9-fbc4df0e2af9} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 2: While processing format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed61aaf in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:40.995452 [ 29466 ] {887325f6-236d-4687-ad30-d2b99d2ca0a6} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing 50 = length(format(_CAST('{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{', 'Nullable(String)') AS _subquery449, '')). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 00949_format.sql) (in query: select 50 = length(format((select arrayStringConcat(arrayMap(x ->'{', range(101)))), ''));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed611a7 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bd679 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc9df in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:26:40.997956 [ 29466 ] {887325f6-236d-4687-ad30-d2b99d2ca0a6} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing 50 = length(format(_CAST('{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{', 'Nullable(String)') AS _subquery449, '')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000d99f557 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x000000000ed611a7 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x000000000ed6f4f4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x000000000ed6a964 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010c3327f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bd679 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc9df in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 2024.12.17 03:26:42.704913 [ 17371 ] {5465ae9c-1aff-4b76-a8e0-c3847bd33c77} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 8 ('('): ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. Unmatched parentheses: ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:32992) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff2093b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff20a90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99640c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:42.706805 [ 17371 ] {5465ae9c-1aff-4b76-a8e0-c3847bd33c77} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 8 ('('): ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. Unmatched parentheses: ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff2093b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff20a90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99640c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:26:44.189881 [ 17371 ] {c2cfcdf3-d1ad-45d3-93f0-1319abf46c18} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fdd5b2cc000, frame address: 0x7fdd5b6cbf20, stack size: 4194528, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57058) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000020968a94 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000209684af in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c3950 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 2024.12.17 03:26:44.303659 [ 17371 ] {c2cfcdf3-d1ad-45d3-93f0-1319abf46c18} DynamicQueryHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fdd5b2cc000, frame address: 0x7fdd5b6cbf20, stack size: 4194528, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000020968a94 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000209684af in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c3950 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x000000003a9c4009 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:26:46.044339 [ 16645 ] {8432573c-3dc4-47e2-8078-27bd67d63143} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32768) (comment: 00956_sensitive_data_masking.sh) (in query: select sleepEachRow(1) from numbers(10) where ignore('find_me_[hidden]')=0 and ignore('fwerkh_that_magic_string_make_me_unique') = 0 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:46.047875 [ 16645 ] {8432573c-3dc4-47e2-8078-27bd67d63143} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:54.831065 [ 9399 ] {01222374-1c4a-479d-9c64-6464ddc4fd0c} executeQuery: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: String, expected UInt64 literal: While processing CAST(1, 'DateTime64(\'abc\')'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64('abc'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:50: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x0000000036ea6407 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4197 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:26:55.360691 [ 9399 ] {01222374-1c4a-479d-9c64-6464ddc4fd0c} TCPHandler: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: String, expected UInt64 literal: While processing CAST(1, 'DateTime64(\'abc\')'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:50: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x0000000036ea6407 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4197 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:26:55.360845 [ 16615 ] {6de8246e-e09e-489e-bdb6-dbfa6337947f} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42290) (comment: 00926_geo_to_h3.sql) (in query: select geoToH3(37.63098076, 55.77922738, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x0000000010f62a3a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010f600e6 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:26:55.362900 [ 16615 ] {6de8246e-e09e-489e-bdb6-dbfa6337947f} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x0000000010f62a3a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010f600e6 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:26:55.910177 [ 9399 ] {9e3af67b-15bf-4d04-ab54-359459196f0a} executeQuery: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing CAST(1, 'DateTime64(100)'). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(100));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x0000000036ae5d11 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3626 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x0000000036ea5275 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4623 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:26:55.913313 [ 9399 ] {9e3af67b-15bf-4d04-ab54-359459196f0a} TCPHandler: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing CAST(1, 'DateTime64(100)'). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x0000000036ae5d11 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3626 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x0000000036ea5275 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4623 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:26:55.939116 [ 9399 ] {9a4a50f5-1592-4598-ab83-320172401d6e} executeQuery: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: Int64, expected UInt64 literal: While processing CAST(1, 'DateTime64(-1)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(-1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:50: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x0000000036ea6407 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4197 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:26:55.940978 [ 9399 ] {9a4a50f5-1592-4598-ab83-320172401d6e} TCPHandler: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: Int64, expected UInt64 literal: While processing CAST(1, 'DateTime64(-1)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:50: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x0000000036ea6407 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4197 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:26:56.470252 [ 9399 ] {a2219f3e-24ed-4ffa-b903-2d49ea8bd245} executeQuery: Code: 36. DB::Exception: Cannot load time zone qqq: While processing CAST(1, 'DateTime64(3, \'qqq\')'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(3, 'qqq'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000002080dfc7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x0000000020806ad1 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000036ae20ae in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:0: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3632 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x0000000036ea5275 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4623 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 14. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 2024.12.17 03:26:56.994729 [ 9399 ] {a2219f3e-24ed-4ffa-b903-2d49ea8bd245} TCPHandler: Code: 36. DB::Exception: Cannot load time zone qqq: While processing CAST(1, 'DateTime64(3, \'qqq\')'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000002080dfc7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x0000000020806ad1 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000036ae20ae in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:0: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3632 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x0000000036ea5275 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create64(std::shared_ptr const&) @ 0x0000000036ea4623 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x0000000036b10f41 in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x0000000036b0b597 in /usr/bin/clickhouse 14. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a288aaa in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c71b7 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 2024.12.17 03:26:56.994909 [ 17871 ] {d97b6810-626d-4925-8cc3-7d3c7213219d} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, Array(Nothing) because some of them are Array and some of them are not: While processing hasAny([['Hello, world']], [[[]]]). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42360) (comment: 00918_has_unsufficient_type_check.sql) (in query: SELECT hasAny([['Hello, world']], [[[]]]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b06d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e747a3 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e747a3 in /usr/bin/clickhouse 7. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fba6222 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:26:56.997173 [ 17871 ] {d97b6810-626d-4925-8cc3-7d3c7213219d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, Array(Nothing) because some of them are Array and some of them are not: While processing hasAny([['Hello, world']], [[[]]]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b06d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e747a3 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e747a3 in /usr/bin/clickhouse 7. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fba6222 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:26:57.564563 [ 9399 ] {087cf7f0-57bb-4c3a-bc8f-04eba5200c5d} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got String: While processing toDateTime64('2019-09-16 19:20:11.234', 'abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 'abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf611 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:58.013038 [ 9399 ] {087cf7f0-57bb-4c3a-bc8f-04eba5200c5d} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got String: While processing toDateTime64('2019-09-16 19:20:11.234', 'abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf611 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:58.013119 [ 16564 ] {92fe830b-4224-4b92-8123-cd6ee8f0ad7a} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34272) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime ttl d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000003ce45a65 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3dbb8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:58.015527 [ 16564 ] {92fe830b-4224-4b92-8123-cd6ee8f0ad7a} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000003ce45a65 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3dbb8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:58.615377 [ 16564 ] {b09cd246-c0c4-44d0-b120-493781c1197e} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34272) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d) engine = MergeTree order by a partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000003ce45a65 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3dbb8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:58.615411 [ 9399 ] {6b76acb3-11b1-41c2-b508-22f9c3cfaa69} executeQuery: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing toDateTime64('2019-09-16 19:20:11.234', 100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x0000000036ae5d11 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3626 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x00000000094db5b5 in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf760 in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:26:58.618077 [ 9399 ] {6b76acb3-11b1-41c2-b508-22f9c3cfaa69} TCPHandler: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing toDateTime64('2019-09-16 19:20:11.234', 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000009465b6d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x0000000036ae5d11 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3626 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x00000000094db5b5 in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf760 in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:26:58.618119 [ 16564 ] {b09cd246-c0c4-44d0-b120-493781c1197e} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000003ce45a65 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3dbb8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:58.658163 [ 9399 ] {7e7f7bdf-49a8-45ae-9743-848bbcfc10a1} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got UInt64: While processing toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752)). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf611 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:58.660413 [ 9399 ] {7e7f7bdf-49a8-45ae-9743-848bbcfc10a1} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got UInt64: While processing toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352f1ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352eb705 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352e8e67 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf611 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:26:59.064493 [ 16564 ] {076236cf-9c90-4073-b423-c13e614887ae} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34272) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl 2 + 2) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:77: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b06b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da04f71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:59.616151 [ 16564 ] {076236cf-9c90-4073-b423-c13e614887ae} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:77: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b06b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da04f71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:26:59.616339 [ 9399 ] {8cfe5fd6-ff88-4a6b-9e92-fb1b5c1e5d04} executeQuery: Code: 36. DB::Exception: Cannot load time zone qqq: While processing toDateTime64('2019-09-16 19:20:11.234', 3, 'qqq'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 3, 'qqq');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000002080dfc7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x0000000020806ad1 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000036ae20ae in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:0: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3632 in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x00000000094db5b5 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf760 in /usr/bin/clickhouse 9. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 10. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 11. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 12. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:26:59.619521 [ 9399 ] {8cfe5fd6-ff88-4a6b-9e92-fb1b5c1e5d04} TCPHandler: Code: 36. DB::Exception: Cannot load time zone qqq: While processing toDateTime64('2019-09-16 19:20:11.234', 3, 'qqq'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000002080dfc7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x0000000020806ad1 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000036ae20ae in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:0: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3632 in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x00000000094db5b5 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abcf760 in /usr/bin/clickhouse 9. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000abce7bd in /usr/bin/clickhouse 10. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abcd809 in /usr/bin/clickhouse 11. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abac39f in /usr/bin/clickhouse 12. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:27:00.227490 [ 9399 ] {2b21b1f8-83e5-4618-a3bf-a0e1cff3effc} executeQuery: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(gccMurmurHash())). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(gccMurmurHash()));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2c121 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:00.227509 [ 16564 ] {bdbbb48a-8fb3-4f55-b576-ae0700f14359} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34272) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d - d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:77: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b06b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da04f71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:00.230211 [ 9399 ] {2b21b1f8-83e5-4618-a3bf-a0e1cff3effc} TCPHandler: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(gccMurmurHash())). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2c121 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:00.230769 [ 16564 ] {bdbbb48a-8fb3-4f55-b576-ae0700f14359} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:77: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b06b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da04f71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:00.585357 [ 16564 ] {11f94bba-5844-477a-9508-696ac01861a0} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34272) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d + interval 1 day) engine = Log;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc09647 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:00.585681 [ 9399 ] {c999c641-7f03-4a3f-86ff-b45f4722af0d} executeQuery: Code: 43. DB::Exception: Illegal type String of 0 argument of function now64. Expected const integer.: While processing ignore(now64('abcd')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64('abcd'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2c121 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:00.587740 [ 16564 ] {11f94bba-5844-477a-9508-696ac01861a0} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc09647 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:00.588467 [ 9399 ] {c999c641-7f03-4a3f-86ff-b45f4722af0d} TCPHandler: Code: 43. DB::Exception: Illegal type String of 0 argument of function now64. Expected const integer.: While processing ignore(now64('abcd')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2c121 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:00.608246 [ 16564 ] {0decf94e-8bd4-461e-92f0-9f2a868dfa4d} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34272) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int) engine = Log ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc09647 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:00.610382 [ 16564 ] {0decf94e-8bd4-461e-92f0-9f2a868dfa4d} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x0000000020af759e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000003bc0b7c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc09647 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:00.619909 [ 9399 ] {860951c8-e40d-49e4-add8-04bcde3cc99a} executeQuery: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(number)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(number)) FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2c121 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:00.622366 [ 9399 ] {860951c8-e40d-49e4-add8-04bcde3cc99a} TCPHandler: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(number)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2c121 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:01.145998 [ 9399 ] {03fc1f7d-7493-4e0c-b0b8-ba5539de3ab6} executeQuery: Code: 36. DB::Exception: Cannot load time zone invalid timezone: While processing ignore(now64(3, 'invalid timezone')). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(3, 'invalid timezone'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000002080dfc7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x0000000020806ad1 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000036ae20ae in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:0: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3632 in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x000000001ac2d2d5 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2bb9f in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:27:01.148736 [ 9399 ] {03fc1f7d-7493-4e0c-b0b8-ba5539de3ab6} TCPHandler: Code: 36. DB::Exception: Cannot load time zone invalid timezone: While processing ignore(now64(3, 'invalid timezone')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000002080dfc7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x0000000020806ad1 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000036ae20ae in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:0: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036ae3632 in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x000000001ac2d2d5 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2bb9f in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:27:01.672969 [ 9399 ] {f598b492-9364-4807-8336-e3f329ecf241} executeQuery: Code: 44. DB::Exception: Illegal column 1111 of time zone argument of function, must be a constant string: While processing ignore(now64(3, 1111)). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42306) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(3, 1111));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:25: DB::extractTimeZoneNameFromColumn(DB::IColumn const*, String const&) @ 0x00000000352f2610 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:0: DB::extractTimeZoneNameFromFunctionArguments(std::vector> const&, unsigned long, unsigned long, bool) @ 0x00000000352f2af2 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2baf0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:01.675211 [ 9399 ] {f598b492-9364-4807-8336-e3f329ecf241} TCPHandler: Code: 44. DB::Exception: Illegal column 1111 of time zone argument of function, must be a constant string: While processing ignore(now64(3, 1111)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:25: DB::extractTimeZoneNameFromColumn(DB::IColumn const*, String const&) @ 0x00000000352f2610 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:0: DB::extractTimeZoneNameFromFunctionArguments(std::vector> const&, unsigned long, unsigned long, bool) @ 0x00000000352f2af2 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac2baf0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:03.425672 [ 17379 ] {4acfb3cf-7fc7-4070-b805-03e23db773cf} executeQuery: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: While processing CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42598) (comment: 00879_cast_to_decimal_crash.sql) (in query: select cast(toIntervalDay(1) as Nullable(Decimal(10, 10)));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0x000000000a56b55e in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0x000000000a294edf in /usr/bin/clickhouse 5. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290112 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 7. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 8. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:27:03.427564 [ 17379 ] {4acfb3cf-7fc7-4070-b805-03e23db773cf} TCPHandler: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: While processing CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0x000000000a56b55e in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0x000000000a294edf in /usr/bin/clickhouse 5. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a290112 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000a28cc22 in /usr/bin/clickhouse 7. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000a28be60 in /usr/bin/clickhouse 8. DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000a28afbf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:27:16.715398 [ 16645 ] {446af226-4079-42ba-931a-570d803489a1} DeflateQplJobHWPool: Initialization of hardware-assisted DeflateQpl codec failed, falling back to software DeflateQpl codec. Failed to get available workqueue size -> total_wq_size: 0, QPL Version: 1.2.0. 2024.12.17 03:27:18.341392 [ 670 ] {e511ae65-8b74-466e-992d-e1415fea2ed8} executeQuery: Code: 403. DB::Exception: JOIN (SELECT system.one.dummy AS val FROM system.one) ANY LEFT JOIN (SELECT system.one.dummy AS val FROM system.one) ON (val + 0) = (val * 1) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43520) (comment: 00800_low_cardinality_join.sql) (in query: select * from (select dummy as val from system.one) any left join (select dummy as val from system.one) on val + 0 = val * 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Planner/PlannerJoins.cpp:443: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039d0d4fc in /usr/bin/clickhouse 4. ./build_docker/./src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000039ce4f36 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000039cc9aa3 in /usr/bin/clickhouse 6. ./build_docker/./src/Planner/Planner.cpp:1258: DB::Planner::buildPlanForQueryNode() @ 0x0000000039c5de51 in /usr/bin/clickhouse 7. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x0000000039c54f8a in /usr/bin/clickhouse 8. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x0000000039c52652 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0f71 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:18.950225 [ 670 ] {e511ae65-8b74-466e-992d-e1415fea2ed8} TCPHandler: Code: 403. DB::Exception: JOIN (SELECT system.one.dummy AS val FROM system.one) ANY LEFT JOIN (SELECT system.one.dummy AS val FROM system.one) ON (val + 0) = (val * 1) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Planner/PlannerJoins.cpp:443: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039d0d4fc in /usr/bin/clickhouse 4. ./build_docker/./src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000039ce4f36 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000039cc9aa3 in /usr/bin/clickhouse 6. ./build_docker/./src/Planner/Planner.cpp:1258: DB::Planner::buildPlanForQueryNode() @ 0x0000000039c5de51 in /usr/bin/clickhouse 7. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x0000000039c54f8a in /usr/bin/clickhouse 8. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x0000000039c52652 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0f71 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:18.950338 [ 17371 ] {3e24043b-f1be-4af0-86ee-c204435010e0} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt8(1)). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43582) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt8(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b5922b7 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b5910d2 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:19.533127 [ 17371 ] {3e24043b-f1be-4af0-86ee-c204435010e0} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt8(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b5922b7 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b5910d2 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:19.533233 [ 9402 ] {8888b5d5-23d4-4422-8fae-a9b0dabe4fb7} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function less: While processing today() < ((2018 - 11) - 14). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43606) (comment: 00762_date_comparsion.sql) (in query: select today() < 2018-11-14;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000015bde1db in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:19.535544 [ 9402 ] {8888b5d5-23d4-4422-8fae-a9b0dabe4fb7} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function less: While processing today() < ((2018 - 11) - 14). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000015bde1db in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:20.573364 [ 1130 ] {8e61301a-70d5-44c5-b084-fe200e440403} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt16(1)). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43680) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt16(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b592a77 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b590f3a in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:20.573514 [ 9402 ] {ce45e87d-82e9-466d-9a7e-3d2b977c4b11} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function less: While processing toDate('2018-01-01') < 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43606) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') < 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000015bde1db in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:20.902718 [ 29466 ] {6efbb463-f727-479b-b8f7-62a237774865} executeQuery: Code: 36. DB::Exception: Existing column a is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43704) (comment: 00754_alter_modify_order_by.sql) (in query: ALTER TABLE no_order MODIFY ORDER BY (a);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:561: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c209 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:20.902721 [ 9402 ] {ce45e87d-82e9-466d-9a7e-3d2b977c4b11} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function less: While processing toDate('2018-01-01') < 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000015bde1db in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:20.902971 [ 1130 ] {8e61301a-70d5-44c5-b084-fe200e440403} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt16(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b592a77 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b590f3a in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:20.904587 [ 29466 ] {6efbb463-f727-479b-b8f7-62a237774865} TCPHandler: Code: 36. DB::Exception: Existing column a is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:561: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c209 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:21.525020 [ 9402 ] {3f124c8d-05d7-45a4-a365-9ba3a106230b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate('2018-01-01') = 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43606) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') == 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:21.826559 [ 29466 ] {be7db63a-fee3-4a84-991f-6e45d737b3b2} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43704) (comment: 00754_alter_modify_order_by.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [98]) @ 0x000000002ada0317 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3258: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced8fdb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:22.463016 [ 29466 ] {be7db63a-fee3-4a84-991f-6e45d737b3b2} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [98]) @ 0x000000002ada0317 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3258: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced8fdb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:22.463016 [ 9402 ] {3f124c8d-05d7-45a4-a365-9ba3a106230b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate('2018-01-01') = 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:22.463267 [ 17867 ] {30de41ae-ce13-479f-957a-1b57a464f281} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt32(1)). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43766) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt32(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b593237 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b590f85 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:22.463354 [ 16575 ] {2d21fb44-da18-44fe-98fd-40a1a0c13636} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43808) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [98]) @ 0x000000002ada0317 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3258: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced8fdb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:22.466113 [ 16575 ] {2d21fb44-da18-44fe-98fd-40a1a0c13636} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [98]) @ 0x000000002ada0317 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3258: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced8fdb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:22.467667 [ 17867 ] {30de41ae-ce13-479f-957a-1b57a464f281} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt32(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b593237 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b590f85 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:23.084595 [ 29466 ] {36d530b8-3acc-409a-b24f-e213a1478ec6} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43704) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:561: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c209 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:23.084588 [ 9402 ] {9508ffdb-86ba-48ee-b75d-bcbd0fb37464} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function notEquals: While processing toDate('2018-01-01') != 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43606) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') != 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000019eafedb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:23.084588 [ 16575 ] {1e3d85d3-f7d1-44ea-a957-18ac6c3173fd} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43808) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:561: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c209 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:23.087671 [ 9402 ] {9508ffdb-86ba-48ee-b75d-bcbd0fb37464} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function notEquals: While processing toDate('2018-01-01') != 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000019eafedb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:27:23.087736 [ 16575 ] {1e3d85d3-f7d1-44ea-a957-18ac6c3173fd} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:561: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c209 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:23.088476 [ 29466 ] {36d530b8-3acc-409a-b24f-e213a1478ec6} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:561: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c209 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:23.505735 [ 16575 ] {887c359c-0223-4542-a458-bdc66e58b6bd} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43808) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:567: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c740 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:23.505876 [ 29466 ] {0dfa6c0c-7846-4db1-8c56-0f524d0edf5c} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43704) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:567: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c740 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.111619 [ 29466 ] {0dfa6c0c-7846-4db1-8c56-0f524d0edf5c} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:567: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c740 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.111787 [ 17867 ] {dee36aa9-ee66-45b4-a5c5-49da5604ac88} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt64(1)). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43870) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt64(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b5939f7 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b59106b in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:24.111765 [ 16575 ] {887c359c-0223-4542-a458-bdc66e58b6bd} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:567: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c740 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.114741 [ 17867 ] {dee36aa9-ee66-45b4-a5c5-49da5604ac88} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt64(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b5939f7 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b59106b in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b5904c9 in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58fd17 in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1429a in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b58f6b2 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:27:24.569466 [ 29466 ] {233d80d5-edc4-4234-b0c0-c5939e8181d6} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43704) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b90d2b6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c349 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.569780 [ 16575 ] {b2862652-a6d6-4ba1-a262-489931101832} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43808) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b90d2b6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c349 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.571663 [ 29466 ] {233d80d5-edc4-4234-b0c0-c5939e8181d6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b90d2b6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c349 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.573151 [ 16575 ] {b2862652-a6d6-4ba1-a262-489931101832} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a70d5dd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b33c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b90d2b6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c349 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.952191 [ 16575 ] {7e213587-da9d-4112-abb6-304f1d4f9474} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43808) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing_r1 MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c988 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.952183 [ 29466 ] {f6af03d3-e03c-4141-8956-d9fbd94f24be} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43704) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c988 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.954996 [ 16575 ] {7e213587-da9d-4112-abb6-304f1d4f9474} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c988 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:24.955054 [ 29466 ] {f6af03d3-e03c-4141-8956-d9fbd94f24be} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c988 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ced4722 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:28.619556 [ 17871 ] {7ec40bbe-b412-4222-a7ab-c97725602034} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt8(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:28.638285 [ 17871 ] {7ec40bbe-b412-4222-a7ab-c97725602034} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt8(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:29.645220 [ 17871 ] {475c053e-6d46-4375-93c2-386d7d6a9bd9} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing toInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:29.654167 [ 17871 ] {475c053e-6d46-4375-93c2-386d7d6a9bd9} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing toInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:30.277059 [ 17871 ] {d829ec89-1e44-4ea6-84bd-b637660722a7} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:30.279848 [ 17871 ] {d829ec89-1e44-4ea6-84bd-b637660722a7} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:31.116874 [ 3444 ] {fbfbc38d-bbb4-4b51-a0ee-247a1699791b} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:31.118452 [ 3444 ] {fbfbc38d-bbb4-4b51-a0ee-247a1699791b} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:31.119506 [ 3444 ] {fbfbc38d-bbb4-4b51-a0ee-247a1699791b} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:31.346251 [ 16564 ] {fbfbc38d-bbb4-4b51-a0ee-247a1699791b} executeQuery: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55670) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count(*) FROM distributed;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000003c59a1aa in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000003de056b6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000003dde317d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x0000000036ab6473 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:123: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x0000000036a967c1 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x0000000036a7f520 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac01a8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:27:31.346322 [ 17871 ] {dcd62e4e-d4cc-4b32-b52c-62280d3fdb36} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt16(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:31.349458 [ 17871 ] {dcd62e4e-d4cc-4b32-b52c-62280d3fdb36} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt16(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:31.358333 [ 29470 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:55698). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:31.360817 [ 16564 ] {fbfbc38d-bbb4-4b51-a0ee-247a1699791b} TCPHandler: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000003c59a1aa in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000003de056b6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000003dde317d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x0000000036ab6473 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:123: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x0000000036a967c1 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x0000000036a7f520 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac01a8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:27:31.599387 [ 17871 ] {2c1162c0-2a48-4ccf-912c-c791036833b9} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing toInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:31.602312 [ 17871 ] {2c1162c0-2a48-4ccf-912c-c791036833b9} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing toInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:31.686587 [ 17871 ] {a98ac465-d88f-45a3-9446-e7e0d23c537c} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:31.689976 [ 17871 ] {a98ac465-d88f-45a3-9446-e7e0d23c537c} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:31.891469 [ 3874 ] {992c8ff0-e533-43bb-9bae-23b777d5a2b2} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:31.892350 [ 3874 ] {992c8ff0-e533-43bb-9bae-23b777d5a2b2} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:31.894985 [ 3874 ] {992c8ff0-e533-43bb-9bae-23b777d5a2b2} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:31.909504 [ 1129 ] {992c8ff0-e533-43bb-9bae-23b777d5a2b2} executeQuery: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55732) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count(*) FROM distributed WHERE a = 0 AND b = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000003c59a1aa in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000003de056b6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000003dde317d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x0000000036ab6473 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:123: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x0000000036a967c1 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x0000000036a7f520 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac01a8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:27:31.926204 [ 1129 ] {992c8ff0-e533-43bb-9bae-23b777d5a2b2} TCPHandler: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000003c59a1aa in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000003de056b6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000003dde317d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x0000000036ab6473 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:123: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x0000000036a967c1 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x0000000036a7f520 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac01a8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:27:32.240405 [ 29459 ] {3ede26eb-778e-4a9d-a044-68185510dfc5} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:55756). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55756) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count() FROM `test_ek931ku7`.`mergetree_00754` WHERE (`a` = 0) AND (`b` = 0)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca3a1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:32.246012 [ 29459 ] {3ede26eb-778e-4a9d-a044-68185510dfc5} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:55756). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:27:32.246485 [ 29459 ] {3ede26eb-778e-4a9d-a044-68185510dfc5} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:55756). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca3a1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:32.247362 [ 29459 ] {3ede26eb-778e-4a9d-a044-68185510dfc5} TCPHandler: Client has gone away. 2024.12.17 03:27:32.585231 [ 17871 ] {f71e7903-3874-4912-92a3-394f71b58c47} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt32(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:32.587707 [ 17871 ] {f71e7903-3874-4912-92a3-394f71b58c47} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt32(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:32.823447 [ 17871 ] {ab65f8e3-d5c4-4985-a647-f936989fdd61} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing toInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:32.825700 [ 17871 ] {ab65f8e3-d5c4-4985-a647-f936989fdd61} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing toInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:32.892370 [ 17871 ] {df4c9a92-0f48-4d05-b677-e2db2baebdc6} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:32.895139 [ 17871 ] {df4c9a92-0f48-4d05-b677-e2db2baebdc6} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:33.745029 [ 17871 ] {f3827521-a91a-4987-b5e2-541e20027ba3} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt64(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:33.747162 [ 17871 ] {f3827521-a91a-4987-b5e2-541e20027ba3} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt64(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:34.353095 [ 17871 ] {a6c00835-93ca-4fbb-8d11-2b7051615f6a} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:34.356022 [ 17871 ] {a6c00835-93ca-4fbb-8d11-2b7051615f6a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:34.420525 [ 17871 ] {2c698d1e-1eb0-481e-b6cf-f7d40fa9615f} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:34.422735 [ 17871 ] {2c698d1e-1eb0-481e-b6cf-f7d40fa9615f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:34.484498 [ 17871 ] {f3d35e80-1bce-4841-ac37-272145e1d336} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing toInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:34.487361 [ 17871 ] {f3d35e80-1bce-4841-ac37-272145e1d336} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing toInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:34.581493 [ 17871 ] {99395c99-ec1d-4695-b460-0ae14817c260} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:34.584074 [ 17871 ] {99395c99-ec1d-4695-b460-0ae14817c260} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:35.736153 [ 17871 ] {c936e939-6ec8-499a-aae6-57a4cbf697b7} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing toUInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt8(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:35.738717 [ 17871 ] {c936e939-6ec8-499a-aae6-57a4cbf697b7} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing toUInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:35.803772 [ 17871 ] {a97eb79d-c2e2-4334-8b43-5d0c39da855a} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:35.806090 [ 17871 ] {a97eb79d-c2e2-4334-8b43-5d0c39da855a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:36.949368 [ 17871 ] {a3133c45-013d-4ece-947b-abb5855c5ca3} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing toUInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt16(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:36.951647 [ 17871 ] {a3133c45-013d-4ece-947b-abb5855c5ca3} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing toUInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:37.014436 [ 17871 ] {92cf0f3b-0c9c-4649-9ae7-9c50b12e9a3e} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:37.017198 [ 17871 ] {92cf0f3b-0c9c-4649-9ae7-9c50b12e9a3e} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:38.159770 [ 17871 ] {b593ea42-c218-4ad1-a881-f9501040a556} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing toUInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt32(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:38.162228 [ 17871 ] {b593ea42-c218-4ad1-a881-f9501040a556} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing toUInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:38.222604 [ 17871 ] {4c90b258-4c57-45c7-99c0-44aace93cd57} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:38.224784 [ 17871 ] {4c90b258-4c57-45c7-99c0-44aace93cd57} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:38.507282 [ 17871 ] {54dd97b0-e12e-4cfa-9e3f-eb8b4f40a4fb} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:38.509463 [ 17871 ] {54dd97b0-e12e-4cfa-9e3f-eb8b4f40a4fb} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:38.570408 [ 17871 ] {af186861-09cf-4c8f-9791-297abe0676e6} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:38.573638 [ 17871 ] {af186861-09cf-4c8f-9791-297abe0676e6} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:38.646620 [ 17871 ] {0b2ea74c-7342-4c87-b11f-9744cbe7e133} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:38.648889 [ 17871 ] {0b2ea74c-7342-4c87-b11f-9744cbe7e133} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:38.706451 [ 17871 ] {668fa211-8a22-4182-85d0-642ffd31f3b7} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:38.708573 [ 17871 ] {668fa211-8a22-4182-85d0-642ffd31f3b7} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:39.066539 [ 17871 ] {be637389-1ef6-42e2-8d41-3d8985646121} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:39.069482 [ 17871 ] {be637389-1ef6-42e2-8d41-3d8985646121} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:39.136094 [ 17871 ] {6249a538-b6ab-4bc0-ad86-c1cb3bcf7264} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:39.139029 [ 17871 ] {6249a538-b6ab-4bc0-ad86-c1cb3bcf7264} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:39.194921 [ 17871 ] {fc576d0b-0565-457f-83c0-154e6a919c12} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing toUInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.197080 [ 17871 ] {fc576d0b-0565-457f-83c0-154e6a919c12} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing toUInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.264346 [ 17871 ] {dc6d69b3-ac12-4c03-8fcf-16defac67e84} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.266740 [ 17871 ] {dc6d69b3-ac12-4c03-8fcf-16defac67e84} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.582452 [ 17871 ] {de035e11-c434-48a9-a5d8-29fcb7110d96} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing toDate(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.584798 [ 17871 ] {de035e11-c434-48a9-a5d8-29fcb7110d96} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing toDate(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.646932 [ 17871 ] {439cec50-dbce-4740-bbf6-c4a55d47bb94} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing toDate(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.649633 [ 17871 ] {439cec50-dbce-4740-bbf6-c4a55d47bb94} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing toDate(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.710976 [ 17871 ] {89559648-13bc-4732-a769-1a99bdd0a2ab} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing toDate(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.713334 [ 17871 ] {89559648-13bc-4732-a769-1a99bdd0a2ab} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing toDate(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.769541 [ 17871 ] {d5772159-5817-40d4-b430-65b6f48746f3} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing toDate(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.771849 [ 17871 ] {d5772159-5817-40d4-b430-65b6f48746f3} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing toDate(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.824792 [ 17871 ] {b46970b9-4f3c-492a-b797-7638dfc9507f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing toDate(0) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.826838 [ 17871 ] {b46970b9-4f3c-492a-b797-7638dfc9507f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing toDate(0) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.881494 [ 17871 ] {08ede282-17cb-42d7-813e-e8c473f12d99} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing toDate(0) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.884123 [ 17871 ] {08ede282-17cb-42d7-813e-e8c473f12d99} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing toDate(0) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.940357 [ 17871 ] {51103681-0d67-454b-af31-e751ef84660b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing toDate(0) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.942363 [ 17871 ] {51103681-0d67-454b-af31-e751ef84660b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing toDate(0) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:39.999812 [ 17871 ] {725fa02d-a50c-4077-9c1d-dbcdaf7fbb99} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing toDate(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:40.002358 [ 17871 ] {725fa02d-a50c-4077-9c1d-dbcdaf7fbb99} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing toDate(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:40.061049 [ 17871 ] {8b63da2b-9648-42b1-91c1-ffdb804d8ab3} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing toDate(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:40.063664 [ 17871 ] {8b63da2b-9648-42b1-91c1-ffdb804d8ab3} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing toDate(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:40.122596 [ 17871 ] {c84c6800-dfad-4212-a327-91f874a6295a} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing toDate(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:40.125234 [ 17871 ] {c84c6800-dfad-4212-a327-91f874a6295a} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing toDate(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:40.951599 [ 17871 ] {e110438a-496a-4a96-a789-cc8440219207} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:40.954004 [ 17871 ] {e110438a-496a-4a96-a789-cc8440219207} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.011349 [ 17871 ] {66add403-89a8-4595-b834-157434ebbea0} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.013968 [ 17871 ] {66add403-89a8-4595-b834-157434ebbea0} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.072711 [ 17871 ] {72ced1fe-4b8f-4116-9db8-de65d1c60b28} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.074829 [ 17871 ] {72ced1fe-4b8f-4116-9db8-de65d1c60b28} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.124415 [ 17871 ] {7b1cbe94-9d08-4f90-b89f-dda5b5d703a1} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.126388 [ 17871 ] {7b1cbe94-9d08-4f90-b89f-dda5b5d703a1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.175986 [ 17871 ] {1622a68a-2180-499b-8e97-81352f81f716} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.177904 [ 17871 ] {1622a68a-2180-499b-8e97-81352f81f716} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.229651 [ 17871 ] {24f4869f-abb4-4acb-befb-cd4b03a39936} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.231722 [ 17871 ] {24f4869f-abb4-4acb-befb-cd4b03a39936} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.292211 [ 17871 ] {748f63af-39e9-4521-bbcb-216d5851b575} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.294745 [ 17871 ] {748f63af-39e9-4521-bbcb-216d5851b575} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.351632 [ 17871 ] {eff23b07-dd3e-4f64-b815-c83d784cca51} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.353963 [ 17871 ] {eff23b07-dd3e-4f64-b815-c83d784cca51} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.409488 [ 17871 ] {dd29c993-3206-4496-a84f-37ce14b10c3d} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.411672 [ 17871 ] {dd29c993-3206-4496-a84f-37ce14b10c3d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.466385 [ 17871 ] {6120eadd-7ca4-48e5-95ef-cc4ab7f9c381} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.468610 [ 17871 ] {6120eadd-7ca4-48e5-95ef-cc4ab7f9c381} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.528722 [ 17871 ] {b66e7f87-69b9-4c98-ab9a-c68fb0b58676} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.530867 [ 17871 ] {b66e7f87-69b9-4c98-ab9a-c68fb0b58676} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.597687 [ 17871 ] {d21a0ca0-172d-4c3c-bacd-e2e4de88c3ea} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.601366 [ 17871 ] {d21a0ca0-172d-4c3c-bacd-e2e4de88c3ea} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.660912 [ 17871 ] {148561f4-a1f5-4275-b38a-6cfbd79fd6bd} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:41.663256 [ 17871 ] {148561f4-a1f5-4275-b38a-6cfbd79fd6bd} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:42.266830 [ 8849 ] {8dc51674-e72a-4b34-a680-3758157c27d8} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47222) (comment: 00716_allow_ddl.sql) (in query: CREATE DATABASE some_db;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b6deda in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x0000000035b69b10 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:653: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85792 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterCreateQuery::execute() @ 0x0000000039405d41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:42.267058 [ 17871 ] {1bb1532d-8f55-4848-8c9b-13a4d331932e} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:42.269867 [ 8849 ] {8dc51674-e72a-4b34-a680-3758157c27d8} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b6deda in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x0000000035b69b10 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:653: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85792 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterCreateQuery::execute() @ 0x0000000039405d41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:42.270007 [ 17871 ] {1bb1532d-8f55-4848-8c9b-13a4d331932e} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:42.667224 [ 8849 ] {9dd8ecb1-a928-4553-af2c-b30962786888} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47222) (comment: 00716_allow_ddl.sql) (in query: CREATE TABLE some_table(a Int32) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b9752a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000035b92ca8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85aba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterCreateQuery::execute() @ 0x0000000039405d41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:42.667339 [ 17871 ] {b7637ee3-abcd-4ffb-b0dc-386a0be2ef4c} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:42.670274 [ 8849 ] {9dd8ecb1-a928-4553-af2c-b30962786888} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b9752a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000035b92ca8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85aba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterCreateQuery::execute() @ 0x0000000039405d41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:42.670286 [ 17871 ] {b7637ee3-abcd-4ffb-b0dc-386a0be2ef4c} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:43.064629 [ 8849 ] {c31485c6-3fbb-4cd6-8fa5-38aee002add5} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47222) (comment: 00716_allow_ddl.sql) (in query: ALTER TABLE some_table DELETE WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b9752a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000035b92ca8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85aba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f3840 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:43.064699 [ 17871 ] {058b1601-1926-4c28-8317-8507e99e3db7} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:43.066942 [ 17871 ] {058b1601-1926-4c28-8317-8507e99e3db7} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:43.067335 [ 8849 ] {c31485c6-3fbb-4cd6-8fa5-38aee002add5} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b9752a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000035b92ca8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85aba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f3840 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:43.515229 [ 8849 ] {a8311928-eae8-4a1d-a091-d0effc779a5c} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47222) (comment: 00716_allow_ddl.sql) (in query: RENAME TABLE some_table TO some_table1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b9752a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000035b92ca8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85aba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterRenameQuery::execute() @ 0x0000000039af4a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:43.517403 [ 8849 ] {a8311928-eae8-4a1d-a091-d0effc779a5c} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b9752a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000035b92ca8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b85aba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000035b02499 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000003789eeb2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterRenameQuery::execute() @ 0x0000000039af4a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:43.851052 [ 8849 ] {13745348-69d2-451e-97a9-2115f7419e36} executeQuery: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47222) (comment: 00716_allow_ddl.sql) (in query: SET allow_ddl = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e192e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17e3e in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d94cd4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:43.851194 [ 17871 ] {1fd867c1-1d1e-49b5-9b30-45b269701fde} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt8(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:43.852881 [ 8849 ] {13745348-69d2-451e-97a9-2115f7419e36} TCPHandler: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e192e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e17e3e in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035e185db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000003789ff35 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d94cd4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:43.853347 [ 17871 ] {1fd867c1-1d1e-49b5-9b30-45b269701fde} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt8(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:44.109217 [ 17871 ] {01321000-ad37-4999-99c9-a9295d5e1fa9} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing materialize(toInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:44.112478 [ 17871 ] {01321000-ad37-4999-99c9-a9295d5e1fa9} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing materialize(toInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:44.184612 [ 17871 ] {26cbb1a1-8f0d-41cd-8a17-a1749c10b3be} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:44.187137 [ 17871 ] {26cbb1a1-8f0d-41cd-8a17-a1749c10b3be} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:45.287524 [ 17871 ] {c300b390-8f5f-47f8-851b-8bfc1712eaeb} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt16(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:45.309828 [ 17871 ] {c300b390-8f5f-47f8-851b-8bfc1712eaeb} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt16(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:45.608110 [ 17871 ] {4b536a3f-30fc-4d01-aaf0-275f3679c8f2} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing materialize(toInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:45.611238 [ 17871 ] {4b536a3f-30fc-4d01-aaf0-275f3679c8f2} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing materialize(toInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:45.907724 [ 17871 ] {59f06fcb-b947-4888-9e37-68a852b58e57} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:45.982219 [ 17871 ] {59f06fcb-b947-4888-9e37-68a852b58e57} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:46.896953 [ 17871 ] {5f597833-c0ca-468f-8f76-a1cbf07aab6b} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt32(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:46.899414 [ 17871 ] {5f597833-c0ca-468f-8f76-a1cbf07aab6b} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt32(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:47.119516 [ 17871 ] {cee88a47-f0f0-4ea8-8c7e-4feff8127b00} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing materialize(toInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:47.121831 [ 17871 ] {cee88a47-f0f0-4ea8-8c7e-4feff8127b00} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing materialize(toInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:47.180188 [ 17871 ] {5fe6785f-068b-4584-9bc1-64a51e1c6d1b} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:47.182435 [ 17871 ] {5fe6785f-068b-4584-9bc1-64a51e1c6d1b} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:48.008499 [ 17871 ] {2395cb87-d05e-4124-851c-32537931582d} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt64(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:48.010929 [ 17871 ] {2395cb87-d05e-4124-851c-32537931582d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt64(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:48.069200 [ 17871 ] {787f8e68-8b73-4616-a284-5cc2a3d3f39e} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:48.072274 [ 17871 ] {787f8e68-8b73-4616-a284-5cc2a3d3f39e} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:48.123696 [ 17871 ] {b94fec77-d05b-4381-90bf-484440a24dc2} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:48.125923 [ 17871 ] {b94fec77-d05b-4381-90bf-484440a24dc2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:48.186824 [ 17871 ] {a8138b4b-bd11-4917-89f5-330a5c908700} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing materialize(toInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:48.189364 [ 17871 ] {a8138b4b-bd11-4917-89f5-330a5c908700} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing materialize(toInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:48.245219 [ 17871 ] {795e7959-b70f-4f67-b65a-b2c92cfa5426} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:48.247655 [ 17871 ] {795e7959-b70f-4f67-b65a-b2c92cfa5426} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:48.871170 [ 9424 ] {df101cca-c68d-496a-9714-ae07f83086ac} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(count, UInt32): While processing sumState(a) + countState(b) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33202) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT sumMerge(x) FROM (SELECT sumState(a) + countState(b) as x FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7013 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:27:48.874286 [ 9424 ] {df101cca-c68d-496a-9714-ae07f83086ac} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(count, UInt32): While processing sumState(a) + countState(b) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7013 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:27:48.922543 [ 9424 ] {92f68659-6991-49f2-928b-472718cad11b} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(sum, Int32): While processing sumState(a) + sumState(toInt32(b)) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33202) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT sumMerge(x) FROM (SELECT sumState(a) + sumState(toInt32(b)) as x FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7013 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:27:48.925286 [ 9424 ] {92f68659-6991-49f2-928b-472718cad11b} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(sum, Int32): While processing sumState(a) + sumState(toInt32(b)) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7013 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d89780 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9eaf39 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e6acad in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b22161 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 2024.12.17 03:27:49.398776 [ 17871 ] {ce946ed4-b43e-43d9-897a-6dd685c79642} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing materialize(toUInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt8(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:49.401320 [ 17871 ] {ce946ed4-b43e-43d9-897a-6dd685c79642} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing materialize(toUInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:49.457301 [ 17871 ] {6884c8c2-bead-4529-a60f-992f71a5d67f} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:49.459970 [ 17871 ] {6884c8c2-bead-4529-a60f-992f71a5d67f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:50.383606 [ 9424 ] {74cf97da-b0c0-4bc6-810c-6e4c91494ae8} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(uniq, UInt32, UInt32) and AggregateFunction(uniq, UInt32): While processing x + y. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33202) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT uniqMerge(x + y) FROM (SELECT uniqState(65536, a) AS x, uniqState(b) AS y FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7013 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x0000000037ca4f35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca69b4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:27:50.384301 [ 17871 ] {d230a0e8-d70e-441f-90ee-7591d34b9916} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing materialize(toUInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt16(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:50.386121 [ 9424 ] {74cf97da-b0c0-4bc6-810c-6e4c91494ae8} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(uniq, UInt32, UInt32) and AggregateFunction(uniq, UInt32): While processing x + y. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001b4c7013 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001ad57b99 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x0000000037ca4f35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037ca69b4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c9b7e0 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c97c6d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b90b2d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3c6c1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:27:50.386332 [ 17871 ] {d230a0e8-d70e-441f-90ee-7591d34b9916} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing materialize(toUInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:50.431326 [ 17871 ] {e30d7c6a-3e48-4ab5-8876-92a4979b2728} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:50.433312 [ 17871 ] {e30d7c6a-3e48-4ab5-8876-92a4979b2728} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:51.470076 [ 29476 ] {9348f86d-7307-4683-80ee-fcb6b419d4bd} executeQuery: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33316) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(10, -2)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce7b0b7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x0000000036d8ad9f in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:92: DB::create(std::shared_ptr const&) @ 0x0000000036d8562e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:51.470290 [ 17871 ] {e727fd01-5988-497f-9c03-31dfc7f34f78} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing materialize(toUInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt32(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:51.472559 [ 29476 ] {9348f86d-7307-4683-80ee-fcb6b419d4bd} TCPHandler: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce7b0b7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x0000000036d8ad9f in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:92: DB::create(std::shared_ptr const&) @ 0x0000000036d8562e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:51.472972 [ 17871 ] {e727fd01-5988-497f-9c03-31dfc7f34f78} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing materialize(toUInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:51.493186 [ 29476 ] {e64f261e-9d39-471d-9b47-496df4599b32} executeQuery: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33316) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(10, 15)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce7b0b7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x0000000036d8ad9f in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:92: DB::create(std::shared_ptr const&) @ 0x0000000036d8562e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:51.495366 [ 29476 ] {e64f261e-9d39-471d-9b47-496df4599b32} TCPHandler: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce7b0b7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x0000000036d8ad9f in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:92: DB::create(std::shared_ptr const&) @ 0x0000000036d8562e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:51.898800 [ 29476 ] {5047d0a2-ff3a-47f8-a7db-bc78cde6e2fb} executeQuery: Code: 69. DB::Exception: Wrong precision: it must be between 1 and 76, got 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33316) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(0, 0)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, unsigned long const&, unsigned long&) @ 0x0000000036d8b0ca in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:195: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x0000000036d8ad17 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:92: DB::create(std::shared_ptr const&) @ 0x0000000036d8562e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:51.899279 [ 17871 ] {78c3eec9-eebf-480d-b8d9-22bcdc2fdef2} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:51.900959 [ 29476 ] {5047d0a2-ff3a-47f8-a7db-bc78cde6e2fb} TCPHandler: Code: 69. DB::Exception: Wrong precision: it must be between 1 and 76, got 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, unsigned long const&, unsigned long&) @ 0x0000000036d8b0ca in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:195: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x0000000036d8ad17 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:92: DB::create(std::shared_ptr const&) @ 0x0000000036d8562e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000036ad3cda in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000036b131bb in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000036b11ccf in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000036b0b5d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:503: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393a8ad0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:51.902551 [ 17871 ] {78c3eec9-eebf-480d-b8d9-22bcdc2fdef2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:52.191049 [ 17871 ] {428bed46-84fc-4dbb-8c60-aec0a30496c6} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.193662 [ 17871 ] {428bed46-84fc-4dbb-8c60-aec0a30496c6} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.239143 [ 17871 ] {03e11e9b-4429-4499-bc0e-2b48e076f0bd} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.241357 [ 17871 ] {03e11e9b-4429-4499-bc0e-2b48e076f0bd} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.300126 [ 17871 ] {5b303e92-fd87-4ab8-933a-5382a66736cf} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.303794 [ 17871 ] {5b303e92-fd87-4ab8-933a-5382a66736cf} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.352737 [ 17871 ] {ad8066d5-6fe3-4d91-a030-a555ce977e7e} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.356724 [ 17871 ] {ad8066d5-6fe3-4d91-a030-a555ce977e7e} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:154: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e628 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.861827 [ 9398 ] {fb36899e-5410-4a45-857e-89b71d3b128d} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(a :: 0, toUInt32(2147483648) :: 1) -> equals(a, toUInt32(2147483648)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33284) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt32(2147483648) AS x, a == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0x00000000105d13f8 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0x00000000105d170f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x00000000105cf844 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000105ca950 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0x00000000105a9a59 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295881 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x00000000102915f9 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:52.862004 [ 17871 ] {1ee3dbcc-26f4-4571-af03-5305c87b6176} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.864269 [ 17871 ] {1ee3dbcc-26f4-4571-af03-5305c87b6176} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.864338 [ 9398 ] {fb36899e-5410-4a45-857e-89b71d3b128d} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(a :: 0, toUInt32(2147483648) :: 1) -> equals(a, toUInt32(2147483648)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0x00000000105d13f8 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0x00000000105d170f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x00000000105cf844 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000105ca950 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0x00000000105a9a59 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295881 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x00000000102915f9 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:52.914792 [ 17871 ] {2d9fc186-d03b-4f46-9f43-e3dfef7a0aad} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.917483 [ 17871 ] {2d9fc186-d03b-4f46-9f43-e3dfef7a0aad} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x0000000036e6eb52 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:87: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x0000000036e6e667 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e79cdf in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:27:52.966005 [ 17871 ] {352be570-9af5-4d00-bbee-20a249ec1a6d} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing materialize(toUInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:52.968314 [ 17871 ] {352be570-9af5-4d00-bbee-20a249ec1a6d} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing materialize(toUInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:53.453282 [ 9398 ] {78514a93-10e6-4698-8950-902f07e05bd3} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(b :: 0, toUInt64(9223372036854775808) :: 1) -> equals(b, toUInt64(9223372036854775808)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33284) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt64(9223372036854775808) AS x, b == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x00000000106c5940 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x00000000106c5c73 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x00000000106c4366 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000106c11d7 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x00000000106a0419 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295b52 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010291605 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:53.453461 [ 17871 ] {99520b32-6f97-4553-9a0b-aec458eb2581} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:53.456098 [ 9398 ] {78514a93-10e6-4698-8950-902f07e05bd3} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(b :: 0, toUInt64(9223372036854775808) :: 1) -> equals(b, toUInt64(9223372036854775808)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x00000000106c5940 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x00000000106c5c73 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x00000000106c4366 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000106c11d7 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x00000000106a0419 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295b52 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010291605 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:53.456234 [ 17871 ] {99520b32-6f97-4553-9a0b-aec458eb2581} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:53.964865 [ 16613 ] {8466f635-1896-44f4-bfce-8978405b823c} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (0 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41652) (comment: 00692_if_exception_code.sql) (in query: SELECT if();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75dbfa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75bbbf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000003a737f36 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f83cb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:53.965145 [ 17871 ] {27ad818e-eb02-4432-bd70-6867dfe3ac0f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing materialize(toDate(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:54.433916 [ 16613 ] {8466f635-1896-44f4-bfce-8978405b823c} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (0 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75dbfa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75bbbf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000003a737f36 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f83cb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.433987 [ 17871 ] {27ad818e-eb02-4432-bd70-6867dfe3ac0f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing materialize(toDate(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:54.434038 [ 9398 ] {ef2a3308-a67e-46ef-97df-3470505ffd98} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(g :: 0, 30000 :: 1) -> equals(g, 30000) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33284) (comment: 00700_decimal_compare.sql) (in query: SELECT g = 30000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0x00000000105c3809 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0x00000000105c3b5f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x00000000105c06a6 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000105bd3fb in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0x00000000105a93b9 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295803 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x00000000102915f9 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.436901 [ 9398 ] {ef2a3308-a67e-46ef-97df-3470505ffd98} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(g :: 0, 30000 :: 1) -> equals(g, 30000) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0x00000000105c3809 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0x00000000105c3b5f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x00000000105c06a6 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000105bd3fb in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0x00000000105a93b9 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295803 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x00000000102915f9 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.454079 [ 16613 ] {c36cc005-5b05-4fae-9eb5-1f3854a13162} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41652) (comment: 00692_if_exception_code.sql) (in query: SELECT if(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75dbfa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75bbbf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000003a737f36 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f83cb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.456469 [ 16613 ] {c36cc005-5b05-4fae-9eb5-1f3854a13162} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75dbfa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75bbbf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000003a737f36 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f83cb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.477937 [ 16613 ] {aeafa4a0-e731-4bc7-9329-d766f003d63e} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (2 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41652) (comment: 00692_if_exception_code.sql) (in query: SELECT if(1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75dbfa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75bbbf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000003a737f36 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f83cb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.479420 [ 17871 ] {99b4e979-110d-4bd0-bf32-ce29564c3552} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing materialize(toDate(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:54.480069 [ 16613 ] {aeafa4a0-e731-4bc7-9329-d766f003d63e} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (2 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75dbfa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x000000003a75bbbf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000003a737f36 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6f83cb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.481570 [ 17871 ] {99b4e979-110d-4bd0-bf32-ce29564c3552} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing materialize(toDate(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:54.948886 [ 9398 ] {20fe004f-81f5-4d66-9350-e59efd55b6ba} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000 :: 1, g :: 0) -> equals(30000, g) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33284) (comment: 00700_decimal_compare.sql) (in query: SELECT 30000 = g FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0x00000000102dbaea in /usr/bin/clickhouse 4. void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0x00000000102dbc81 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x00000000102d8cef in /usr/bin/clickhouse 6. DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000102d7ac0 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x00000000102d5839 in /usr/bin/clickhouse 8. bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010291fbf in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000001029154b in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:54.949101 [ 17871 ] {cd2a44c6-f1e8-4d65-9be0-034098e9fc94} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing materialize(toDate(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.026255 [ 9398 ] {20fe004f-81f5-4d66-9350-e59efd55b6ba} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000 :: 1, g :: 0) -> equals(30000, g) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0x00000000102dbaea in /usr/bin/clickhouse 4. void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0x00000000102dbc81 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x00000000102d8cef in /usr/bin/clickhouse 6. DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000102d7ac0 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x00000000102d5839 in /usr/bin/clickhouse 8. bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010291fbf in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000001029154b in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:55.026255 [ 17871 ] {cd2a44c6-f1e8-4d65-9be0-034098e9fc94} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing materialize(toDate(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.074024 [ 17871 ] {d6720637-abd6-4c0c-838b-e27b2ef003c9} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing materialize(toDate(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.076590 [ 17871 ] {d6720637-abd6-4c0c-838b-e27b2ef003c9} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing materialize(toDate(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.135384 [ 17871 ] {11d643e8-19bf-4a51-bd41-098903b9bca7} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing materialize(toDate(0)) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.138331 [ 17871 ] {11d643e8-19bf-4a51-bd41-098903b9bca7} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing materialize(toDate(0)) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.183414 [ 17871 ] {2f555201-d8cd-4bf0-a609-a0527e261b16} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing materialize(toDate(0)) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.185812 [ 17871 ] {2f555201-d8cd-4bf0-a609-a0527e261b16} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing materialize(toDate(0)) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.675333 [ 9398 ] {7613e6db-e294-48cc-abd5-5afebf0ee773} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(h :: 0, 10000000000 :: 1) -> equals(h, 10000000000) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33284) (comment: 00700_decimal_compare.sql) (in query: SELECT h = 10000000000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x00000000106c52cd in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x00000000106c5613 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x00000000106c2766 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000106c1201 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x00000000106a0419 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295b52 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010291605 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:55.675695 [ 17871 ] {0eb0a551-196a-4683-b9b6-fca11951ddb4} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing materialize(toDate(0)) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.677616 [ 9398 ] {7613e6db-e294-48cc-abd5-5afebf0ee773} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(h :: 0, 10000000000 :: 1) -> equals(h, 10000000000) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x000000000948c5b7 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x00000000106c52cd in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x00000000106c5613 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x00000000106c2766 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x00000000106c1201 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x00000000106a0419 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010295b52 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x0000000010291605 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000fcfc045 in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb1e26 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 28. ? @ 0x00007fe21c2faac3 in ? 29. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:55.678904 [ 17871 ] {0eb0a551-196a-4683-b9b6-fca11951ddb4} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing materialize(toDate(0)) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.727098 [ 17871 ] {1deaf579-8baf-4085-8359-8bdfa45d087f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing materialize(toDate(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.730312 [ 17871 ] {1deaf579-8baf-4085-8359-8bdfa45d087f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing materialize(toDate(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.783402 [ 17871 ] {a4a1dd7b-4a20-4cda-899a-de42587b19ba} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing materialize(toDate(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.785964 [ 17871 ] {a4a1dd7b-4a20-4cda-899a-de42587b19ba} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing materialize(toDate(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.833041 [ 17871 ] {620df29c-c4b0-4bfd-98ea-059ad16e165c} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing materialize(toDate(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:55.835167 [ 17871 ] {620df29c-c4b0-4bfd-98ea-059ad16e165c} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing materialize(toDate(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010fe913b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.043638 [ 17871 ] {fc4452fc-bc7f-4b2c-aea6-f3b955476c9d} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.046176 [ 17871 ] {fc4452fc-bc7f-4b2c-aea6-f3b955476c9d} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.093472 [ 17871 ] {72299060-bafe-4d10-a84d-513967d29e3d} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.096202 [ 17871 ] {72299060-bafe-4d10-a84d-513967d29e3d} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.144847 [ 17871 ] {6f9ffa18-6b89-41ca-9ac7-0fc2cd79e097} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.147033 [ 17871 ] {6f9ffa18-6b89-41ca-9ac7-0fc2cd79e097} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fcb9dbb in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d50b11 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.200646 [ 17871 ] {deb03f9e-e64d-4590-ae93-c1f418eaf79f} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.203109 [ 17871 ] {deb03f9e-e64d-4590-ae93-c1f418eaf79f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.254593 [ 17871 ] {bb548136-f853-42d5-842e-05410db2a4d1} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.256977 [ 17871 ] {bb548136-f853-42d5-842e-05410db2a4d1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.844637 [ 16575 ] {97572d8d-10a2-48cb-b90d-ddb767c9dd05} executeQuery: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43808) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE summing_r1 ADD COLUMN t UInt32 AFTER z, MODIFY ORDER BY (x, y, t * t) SETTINGS replication_alter_partitions_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000003c2bad6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6335: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x000000003c185508 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000003c131859 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c14543b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:56.844769 [ 17871 ] {fcce331d-1ffe-4805-ad55-59e6234d4521} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.847304 [ 16575 ] {97572d8d-10a2-48cb-b90d-ddb767c9dd05} TCPHandler: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000003c2bad6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6335: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x000000003c185508 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000003c131859 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c14543b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:56.847464 [ 17871 ] {fcce331d-1ffe-4805-ad55-59e6234d4521} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.902586 [ 17871 ] {8e79b3ee-58a9-4395-8454-3a74e43da480} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.905332 [ 17871 ] {8e79b3ee-58a9-4395-8454-3a74e43da480} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.952141 [ 17871 ] {9c67ad04-ce7b-4452-a481-90cd7f10b1d1} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:56.954895 [ 17871 ] {9c67ad04-ce7b-4452-a481-90cd7f10b1d1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.005745 [ 17871 ] {ba12ea78-c971-4073-8617-6e3c6f189abf} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.008152 [ 17871 ] {ba12ea78-c971-4073-8617-6e3c6f189abf} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.051993 [ 17871 ] {b8f0e4df-5ca6-4cb1-b7d0-c46cfa76ea87} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.054506 [ 17871 ] {b8f0e4df-5ca6-4cb1-b7d0-c46cfa76ea87} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.109498 [ 17871 ] {bdaca7f3-8e27-4b03-8ddb-af82f78f8698} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.111939 [ 17871 ] {bdaca7f3-8e27-4b03-8ddb-af82f78f8698} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.166616 [ 17871 ] {0a16fb12-d6ec-4ab9-b934-391dc75e5826} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.169201 [ 17871 ] {0a16fb12-d6ec-4ab9-b934-391dc75e5826} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.219296 [ 17871 ] {45e2bb1d-0a5e-4bdb-9653-8265d3e99cf6} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.221566 [ 17871 ] {45e2bb1d-0a5e-4bdb-9653-8265d3e99cf6} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.425107 [ 17871 ] {5c5d52ed-a2c9-4e63-b1fd-ee7ebaa538b1} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.427275 [ 17871 ] {5c5d52ed-a2c9-4e63-b1fd-ee7ebaa538b1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.474989 [ 17871 ] {966dab09-2cee-4ee5-96bd-b8ccae4c0ef5} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.477096 [ 17871 ] {966dab09-2cee-4ee5-96bd-b8ccae4c0ef5} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.533184 [ 17871 ] {a3b071cf-bff6-4e72-97e0-0c9fbf1f9db5} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55536) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:57.536538 [ 17871 ] {a3b071cf-bff6-4e72-97e0-0c9fbf1f9db5} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad50556 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e6d6b2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e7b279 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000138624e5 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 2024.12.17 03:27:59.149277 [ 7071 ] {5a214c6a-f576-44b0-81f6-d46e13cd2135} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41866) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT NULL AS src SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [43]) @ 0x0000000009411bf7 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000940bbad in /usr/bin/clickhouse 4. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000009409a5f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037513002 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:27:59.151645 [ 7071 ] {5a214c6a-f576-44b0-81f6-d46e13cd2135} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [43]) @ 0x0000000009411bf7 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000940bbad in /usr/bin/clickhouse 4. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000009409a5f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037513002 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:00.022504 [ 9398 ] {b3790220-f5b6-4e6e-bb05-f9a02176c635} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41926) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT number % 2 ? 1 : NULL AS src FROM numbers(10) SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009e04d37 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a28071b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2800e4 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:00.026966 [ 9398 ] {b3790220-f5b6-4e6e-bb05-f9a02176c635} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009e04d37 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a28071b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2800e4 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:11.567254 [ 29466 ] {3c8aa0e6-2f50-4318-b77c-e2834e6f00f0} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 2) -> throwIf(equals(number, 1000)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59886) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000) FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:11.571855 [ 29466 ] {3c8aa0e6-2f50-4318-b77c-e2834e6f00f0} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 2) -> throwIf(equals(number, 1000)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:12.481897 [ 17867 ] {5bdc0d78-7a82-43b2-8dd9-8370ee97b47d} executeQuery: Code: 395. DB::Exception: Number equals 1000: while executing 'FUNCTION throwIf(equals(number, 1000) :: 3, 'Number equals 1000' :: 2) -> throwIf(equals(number, 1000), 'Number equals 1000') UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59950) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000') FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createRuntime(int, String const&) @ 0x000000001d134824 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e583 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:12.485513 [ 17867 ] {5bdc0d78-7a82-43b2-8dd9-8370ee97b47d} TCPHandler: Code: 395. DB::Exception: Number equals 1000: while executing 'FUNCTION throwIf(equals(number, 1000) :: 3, 'Number equals 1000' :: 2) -> throwIf(equals(number, 1000), 'Number equals 1000') UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createRuntime(int, String const&) @ 0x000000001d134824 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e583 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:13.762791 [ 5015 ] {9567bcde-1ada-4a7e-bb9a-af9643f1032f} executeQuery: Code: 42. DB::Exception: Number of arguments for function throwIf doesn't match: passed 3, should be 1 or 2: While processing throwIf(number = 1000, 'Number equals 1000', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38238) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', 1) FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long const&, char const*&&) @ 0x000000001d134c70 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d13100d in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:13.767054 [ 5015 ] {9567bcde-1ada-4a7e-bb9a-af9643f1032f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function throwIf doesn't match: passed 3, should be 1 or 2: While processing throwIf(number = 1000, 'Number equals 1000', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long const&, char const*&&) @ 0x000000001d134c70 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d13100d in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:14.982369 [ 5015 ] {1cf1af79-5a17-4a20-ac3c-81993d925b87} executeQuery: Code: 43. DB::Exception: Third argument of function throwIf must be Int8, Int16 or Int32 (passed: UInt8): While processing throwIf(number = 1000, 'Number equals 1000', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38300) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', 1) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d131629 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:14.986734 [ 5015 ] {1cf1af79-5a17-4a20-ac3c-81993d925b87} TCPHandler: Code: 43. DB::Exception: Third argument of function throwIf must be Int8, Int16 or Int32 (passed: UInt8): While processing throwIf(number = 1000, 'Number equals 1000', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d131629 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:15.697684 [ 16615 ] {31e13968-ca1a-4215-8cfb-c233733990dd} executeQuery: Code: 42. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(42) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(42)) UInt8 : 1'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38362) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(42)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:15.701039 [ 16615 ] {31e13968-ca1a-4215-8cfb-c233733990dd} TCPHandler: Code: 42. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(42) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(42)) UInt8 : 1'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:16.410320 [ 16669 ] {9bc0fb57-65af-4cfa-b20e-f59990cb6f6d} executeQuery: Code: 0. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(0) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(0)) UInt8 : 1'. (OK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38402) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(0)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:16.414228 [ 16669 ] {9bc0fb57-65af-4cfa-b20e-f59990cb6f6d} TCPHandler: Code: 0. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(0) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(0)) UInt8 : 1'. (OK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:17.083662 [ 16615 ] {edb53d3a-ebb8-4f03-9c37-f6dcfd2580c3} executeQuery: Code: 101. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(101) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(101)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_CLIENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38462) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(101)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:17.089791 [ 16615 ] {edb53d3a-ebb8-4f03-9c37-f6dcfd2580c3} TCPHandler: Code: 101. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(101) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(101)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:17.794959 [ 29466 ] {7b48b453-3fb8-4f05-bef6-e21e9d938d7c} executeQuery: Code: 102. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(102) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(102)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_SERVER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38502) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(102)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:17.798751 [ 29466 ] {7b48b453-3fb8-4f05-bef6-e21e9d938d7c} TCPHandler: Code: 102. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(102) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(102)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_SERVER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:18.772237 [ 9399 ] {cba94f16-88e8-4fcb-8f45-fc3ba0099a23} executeQuery: Code: 53. DB::Exception: Cannot convert string numbers1 to type UInt64: while executing 'FUNCTION equals(_table : 0, 'numbers1' : 1) -> equals(_table, 'numbers1') UInt8 : 2'. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38506) (comment: 00578_merge_table_shadow_virtual_column.sql) (in query: SELECT count() FROM merge(currentDatabase(), '^numbers\\d+$') WHERE _table='numbers1';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcf9ab3 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb0850 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce50af in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:28:18.772281 [ 16615 ] {5232ef0b-f0ab-44d3-a027-b732ba918e9b} executeQuery: Code: 1001. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1001) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1001)) UInt8 : 1'. (STD_EXCEPTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38548) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(1001)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:18.774669 [ 9399 ] {cba94f16-88e8-4fcb-8f45-fc3ba0099a23} TCPHandler: Code: 53. DB::Exception: Cannot convert string numbers1 to type UInt64: while executing 'FUNCTION equals(_table : 0, 'numbers1' : 1) -> equals(_table, 'numbers1') UInt8 : 2'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e76b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcf9ab3 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000fcb0850 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce50af in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 03:28:18.775964 [ 16615 ] {5232ef0b-f0ab-44d3-a027-b732ba918e9b} TCPHandler: Code: 1001. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1001) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1001)) UInt8 : 1'. (STD_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:19.437327 [ 16564 ] {11da854f-35d0-46e4-acfb-9d382abf54ee} executeQuery: Code: 1002. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1002) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1002)) UInt8 : 1'. (UNKNOWN_EXCEPTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38608) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(1002)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:19.440607 [ 16564 ] {11da854f-35d0-46e4-acfb-9d382abf54ee} TCPHandler: Code: 1002. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1002) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1002)) UInt8 : 1'. (UNKNOWN_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:20.129204 [ 16564 ] {0e7bdee7-0de9-4836-ae7d-6afb3bb4308f} executeQuery: Code: 999999. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(999999) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(999999)) UInt8 : 1'. () (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38644) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(999999)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:20.132513 [ 16564 ] {0e7bdee7-0de9-4836-ae7d-6afb3bb4308f} TCPHandler: Code: 999999. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(999999) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(999999)) UInt8 : 1'. (), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:20.793818 [ 16615 ] {325c1815-e40c-4e4b-9799-7d42f4b345d3} executeQuery: Code: -1. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(-1) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(-1)) UInt8 : 1'. () (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38694) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(-1)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:20.797618 [ 16615 ] {325c1815-e40c-4e4b-9799-7d42f4b345d3} TCPHandler: Code: -1. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(-1) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(-1)) UInt8 : 1'. (), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:22.766335 [ 9424 ] {16cf0ab7-de4a-400a-8e48-58f6b4123817} executeQuery: Code: 44. DB::Exception: Cannot drop column `id`, because column `id2` depends on it. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38824) (comment: 00575_illegal_column_exception_when_drop_depen_column.sh) (in query: ALTER TABLE test_00575 DROP COLUMN id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92b708 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:22.769670 [ 9424 ] {16cf0ab7-de4a-400a-8e48-58f6b4123817} TCPHandler: Code: 44. DB::Exception: Cannot drop column `id`, because column `id2` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92b708 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:29.948292 [ 17871 ] {aa8a47d0-a21d-4ad0-a7e3-1669749424d0} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT DATABASE(NULL);) 2024.12.17 03:28:29.951871 [ 17871 ] {aa8a47d0-a21d-4ad0-a7e3-1669749424d0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:30.049914 [ 17871 ] {2daedd8a-b8ee-48a6-89b3-ddcd1d6ceba4} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT DATE_DIFF(NULL);) 2024.12.17 03:28:30.052862 [ 17871 ] {2daedd8a-b8ee-48a6-89b3-ddcd1d6ceba4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:30.145263 [ 17871 ] {3ceadf37-a9e5-4e5e-b315-e23a72b23d46} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTrunc doesn't match: the function requires more arguments: While processing dateTrunc(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT DATE_TRUNC(NULL);) 2024.12.17 03:28:30.149002 [ 17871 ] {3ceadf37-a9e5-4e5e-b315-e23a72b23d46} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTrunc doesn't match: the function requires more arguments: While processing dateTrunc(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:30.504080 [ 17871 ] {a09549a6-e84f-426c-9f70-7d49389d4ef6} executeQuery: Code: 42. DB::Exception: Number of arguments for function FQDN doesn't match: passed 1, should be 0: While processing FQDN(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT FQDN(NULL);) 2024.12.17 03:28:30.507583 [ 17871 ] {a09549a6-e84f-426c-9f70-7d49389d4ef6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function FQDN doesn't match: passed 1, should be 0: While processing FQDN(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:30.727165 [ 17871 ] {f63a4796-4a46-4d16-80df-8efe0274e769} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNum: While processing IPv6StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT INET6_ATON(NULL);) 2024.12.17 03:28:30.731017 [ 17871 ] {f63a4796-4a46-4d16-80df-8efe0274e769} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNum: While processing IPv6StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:30.834138 [ 17871 ] {e89fcaab-b4aa-4d75-bfe3-548a2f3aa224} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNum: While processing IPv4StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT INET_ATON(NULL);) 2024.12.17 03:28:30.837756 [ 17871 ] {e89fcaab-b4aa-4d75-bfe3-548a2f3aa224} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNum: While processing IPv4StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:30.946199 [ 17871 ] {b5ad4eb9-15a6-4e9e-aefb-216c511a4636} executeQuery: Code: 42. DB::Exception: Number of arguments for function IPv4CIDRToRange doesn't match: passed 1, should be 2: While processing IPv4CIDRToRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv4CIDRToRange(NULL);) 2024.12.17 03:28:30.949702 [ 17871 ] {b5ad4eb9-15a6-4e9e-aefb-216c511a4636} TCPHandler: Code: 42. DB::Exception: Number of arguments for function IPv4CIDRToRange doesn't match: passed 1, should be 2: While processing IPv4CIDRToRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:31.111959 [ 17871 ] {994e18a7-04ee-4ec3-8cd8-ba2dff2052a5} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNum: While processing IPv4StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv4StringToNum(NULL);) 2024.12.17 03:28:31.115385 [ 17871 ] {994e18a7-04ee-4ec3-8cd8-ba2dff2052a5} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNum: While processing IPv4StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:31.158561 [ 17871 ] {e6430128-61ff-4e1d-baa5-8d0eef3a05b0} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNumOrDefault: While processing IPv4StringToNumOrDefault(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv4StringToNumOrDefault(NULL);) 2024.12.17 03:28:31.163085 [ 17871 ] {e6430128-61ff-4e1d-baa5-8d0eef3a05b0} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNumOrDefault: While processing IPv4StringToNumOrDefault(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:31.199804 [ 17871 ] {0e36dd06-df70-4181-9014-921add289bd0} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNumOrNull: While processing IPv4StringToNumOrNull(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv4StringToNumOrNull(NULL);) 2024.12.17 03:28:31.202849 [ 17871 ] {0e36dd06-df70-4181-9014-921add289bd0} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv4StringToNumOrNull: While processing IPv4StringToNumOrNull(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:31.293728 [ 17871 ] {5a9ae0fe-965c-435d-8d3f-1af32eba5c30} executeQuery: Code: 42. DB::Exception: Number of arguments for function IPv6CIDRToRange doesn't match: passed 1, should be 2: While processing IPv6CIDRToRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv6CIDRToRange(NULL);) 2024.12.17 03:28:31.297194 [ 17871 ] {5a9ae0fe-965c-435d-8d3f-1af32eba5c30} TCPHandler: Code: 42. DB::Exception: Number of arguments for function IPv6CIDRToRange doesn't match: passed 1, should be 2: While processing IPv6CIDRToRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:31.386122 [ 17871 ] {cf05772b-d91f-4811-824f-ecd4d115ab2a} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNum: While processing IPv6StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv6StringToNum(NULL);) 2024.12.17 03:28:31.389370 [ 17871 ] {cf05772b-d91f-4811-824f-ecd4d115ab2a} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNum: While processing IPv6StringToNum(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:31.425670 [ 17871 ] {ca96f342-faa8-4da1-b14d-47e7ccb33824} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNumOrDefault: While processing IPv6StringToNumOrDefault(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv6StringToNumOrDefault(NULL);) 2024.12.17 03:28:31.428671 [ 17871 ] {ca96f342-faa8-4da1-b14d-47e7ccb33824} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNumOrDefault: While processing IPv6StringToNumOrDefault(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:31.468584 [ 17871 ] {b89c1655-4411-4d2a-9ff0-2067899fd25f} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNumOrNull: While processing IPv6StringToNumOrNull(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT IPv6StringToNumOrNull(NULL);) 2024.12.17 03:28:31.471623 [ 17871 ] {b89c1655-4411-4d2a-9ff0-2067899fd25f} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument of function IPv6StringToNumOrNull: While processing IPv6StringToNumOrNull(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:31.562588 [ 17871 ] {37413fbc-ccd6-46c7-a0cf-c549dff27df9} executeQuery: Code: 42. DB::Exception: Function JSONExtract requires at least two arguments: While processing JSONExtract(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT JSONExtract(NULL);) 2024.12.17 03:28:31.565541 [ 17871 ] {37413fbc-ccd6-46c7-a0cf-c549dff27df9} TCPHandler: Code: 42. DB::Exception: Function JSONExtract requires at least two arguments: While processing JSONExtract(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:31.885049 [ 17871 ] {8f212a70-4d83-4f6b-8a4f-1ad4433b2b41} executeQuery: Code: 42. DB::Exception: Function JSONExtractKeysAndValues requires at least two arguments: While processing JSONExtractKeysAndValues(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT JSONExtractKeysAndValues(NULL);) 2024.12.17 03:28:31.888576 [ 17871 ] {8f212a70-4d83-4f6b-8a4f-1ad4433b2b41} TCPHandler: Code: 42. DB::Exception: Function JSONExtractKeysAndValues requires at least two arguments: While processing JSONExtractKeysAndValues(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:32.050103 [ 9398 ] {aaed9253-ea3b-4158-84ee-20c5f2b4e9e1} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: -- test gcd float select gcd(1280.1, 1024.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.052109 [ 9398 ] {aaed9253-ea3b-4158-84ee-20c5f2b4e9e1} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.076046 [ 9398 ] {996b2e33-9e46-480c-aa53-b08ee585a39e} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select gcd(11.1, 121.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.078162 [ 9398 ] {996b2e33-9e46-480c-aa53-b08ee585a39e} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.101358 [ 9398 ] {684376d3-31c0-4620-bc70-fb1d9db77826} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select gcd(-256.1, 64.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.103318 [ 9398 ] {684376d3-31c0-4620-bc70-fb1d9db77826} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.122858 [ 9398 ] {6efe5a95-695a-48cb-9458-e6b01e3ded98} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select gcd(1.1, 1.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.124735 [ 9398 ] {6efe5a95-695a-48cb-9458-e6b01e3ded98} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.149016 [ 9398 ] {61dfd023-4119-4063-81ea-3cc6cb547288} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select gcd(4.1, 2.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.152273 [ 9398 ] {61dfd023-4119-4063-81ea-3cc6cb547288} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.177805 [ 9398 ] {e45daf35-13e2-4f7d-8363-bb6bf1a95f2a} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select gcd(15.1, 49.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.179996 [ 9398 ] {e45daf35-13e2-4f7d-8363-bb6bf1a95f2a} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.203438 [ 9398 ] {9af770d7-9994-484c-ae8d-2b50ceae0591} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select gcd(255.1, 254.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.205439 [ 9398 ] {9af770d7-9994-484c-ae8d-2b50ceae0591} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010ecbe1e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010c8b939 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.643469 [ 17871 ] {b1c28ed2-d1ec-4bf3-95d0-64fb112b1ac4} executeQuery: Code: 42. DB::Exception: Number of arguments for function L1Distance doesn't match: passed 1, should be 2: While processing L1Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT L1Distance(NULL);) 2024.12.17 03:28:32.646618 [ 17871 ] {b1c28ed2-d1ec-4bf3-95d0-64fb112b1ac4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L1Distance doesn't match: passed 1, should be 2: While processing L1Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:32.820854 [ 9398 ] {f6a139c0-5cfe-4f06-a4e5-c5713a04003c} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: -- test lcm float select lcm(1280.1, 1024.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.821067 [ 17871 ] {ba806031-591d-4071-aecd-12ff6f2bd8fc} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT L2Distance(NULL);) 2024.12.17 03:28:32.822755 [ 9398 ] {f6a139c0-5cfe-4f06-a4e5-c5713a04003c} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.824497 [ 17871 ] {ba806031-591d-4071-aecd-12ff6f2bd8fc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:32.845937 [ 9398 ] {ad2211a6-1deb-4896-b5d0-f61607f3f9d2} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select lcm(11.1, 121.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.847969 [ 9398 ] {ad2211a6-1deb-4896-b5d0-f61607f3f9d2} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.871057 [ 9398 ] {ccd0ff0c-4aee-4e0a-9c4a-4726f1179a0f} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select lcm(-256.1, 64.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.873055 [ 9398 ] {ccd0ff0c-4aee-4e0a-9c4a-4726f1179a0f} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.896779 [ 9398 ] {7374aa29-3b71-42df-a3b6-e48c2953814c} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select lcm(1.1, 1.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.898723 [ 9398 ] {7374aa29-3b71-42df-a3b6-e48c2953814c} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.921954 [ 9398 ] {d5a2dfa8-61fe-4eb0-9472-c63092954c8f} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select lcm(4.1, 2.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.924164 [ 9398 ] {d5a2dfa8-61fe-4eb0-9472-c63092954c8f} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.947339 [ 9398 ] {5e9e1fad-709f-4ae6-8d0d-ec3d5435106e} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select lcm(15.1, 49.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.949409 [ 9398 ] {5e9e1fad-709f-4ae6-8d0d-ec3d5435106e} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.972871 [ 9398 ] {690b63c4-6c02-4f18-bb16-672538e681c4} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44400) (comment: 00515_gcd_lcm.sql) (in query: select lcm(255.1, 254.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.975129 [ 9398 ] {690b63c4-6c02-4f18-bb16-672538e681c4} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000015406b7e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000151b32d9 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000be9ef13 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:28:32.991489 [ 17871 ] {e695420c-c6ac-444e-bb38-db11fc2bec9c} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2SquaredDistance doesn't match: passed 1, should be 2: While processing L2SquaredDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT L2SquaredDistance(NULL);) 2024.12.17 03:28:32.994955 [ 17871 ] {e695420c-c6ac-444e-bb38-db11fc2bec9c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2SquaredDistance doesn't match: passed 1, should be 2: While processing L2SquaredDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:33.149522 [ 17871 ] {adfde2f9-7fe7-473b-b2ab-a2267b0e034a} executeQuery: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 1, should be 2: While processing LinfDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT LinfDistance(NULL);) 2024.12.17 03:28:33.152468 [ 17871 ] {adfde2f9-7fe7-473b-b2ab-a2267b0e034a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 1, should be 2: While processing LinfDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:33.303227 [ 17871 ] {2b11a1c6-e7e6-4468-b75c-097b26436c5d} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 1, should be 3: While processing LpDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT LpDistance(NULL);) 2024.12.17 03:28:33.306201 [ 17871 ] {2b11a1c6-e7e6-4468-b75c-097b26436c5d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 1, should be 3: While processing LpDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:33.344985 [ 17871 ] {532afcdc-e6db-4c64-b158-a7bb3f52d091} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpNorm doesn't match: passed 1, should be 2: While processing LpNorm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT LpNorm(NULL);) 2024.12.17 03:28:33.348406 [ 17871 ] {532afcdc-e6db-4c64-b158-a7bb3f52d091} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpNorm doesn't match: passed 1, should be 2: While processing LpNorm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:33.385672 [ 17871 ] {60d64106-f534-4448-a86d-6790b83efe45} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpNormalize doesn't match: passed 1, should be 2: While processing LpNormalize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT LpNormalize(NULL);) 2024.12.17 03:28:33.389038 [ 17871 ] {60d64106-f534-4448-a86d-6790b83efe45} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpNormalize doesn't match: passed 1, should be 2: While processing LpNormalize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:33.593072 [ 17871 ] {c88e6654-2697-4a80-bfb3-ec3b8012bf08} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 1, should be 2: While processing MAP_FROM_ARRAYS(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT MAP_FROM_ARRAYS(NULL);) 2024.12.17 03:28:33.596026 [ 17871 ] {c88e6654-2697-4a80-bfb3-ec3b8012bf08} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 1, should be 2: While processing MAP_FROM_ARRAYS(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:34.017754 [ 17871 ] {5bfc94c9-5ca8-429f-a02b-e53707509e59} executeQuery: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT REGEXP_MATCHES(NULL);) 2024.12.17 03:28:34.021252 [ 17871 ] {5bfc94c9-5ca8-429f-a02b-e53707509e59} TCPHandler: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:34.061304 [ 17871 ] {f66f3760-1244-4cb1-a52d-130c85b7c592} executeQuery: Code: 42. DB::Exception: Number of arguments for function replaceRegexpAll doesn't match: passed 1, should be 3: While processing replaceRegexpAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT REGEXP_REPLACE(NULL);) 2024.12.17 03:28:34.064953 [ 17871 ] {f66f3760-1244-4cb1-a52d-130c85b7c592} TCPHandler: Code: 42. DB::Exception: Number of arguments for function replaceRegexpAll doesn't match: passed 1, should be 3: While processing replaceRegexpAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:34.106613 [ 17871 ] {ffc6f0ec-e37e-47fd-b2d6-5d40dc1158e0} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT SCHEMA(NULL);) 2024.12.17 03:28:34.109743 [ 17871 ] {ffc6f0ec-e37e-47fd-b2d6-5d40dc1158e0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:34.594739 [ 17871 ] {62e3ffa9-a889-4417-8816-d5595db9222e} executeQuery: Code: 42. DB::Exception: Number of arguments for function substringIndex doesn't match: passed 1, should be 3: While processing substringIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT SUBSTRING_INDEX(NULL);) 2024.12.17 03:28:34.597902 [ 17871 ] {62e3ffa9-a889-4417-8816-d5595db9222e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function substringIndex doesn't match: passed 1, should be 3: While processing substringIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:34.691688 [ 17871 ] {b387eeb5-0b16-4902-9238-cb608894ef00} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT TIMESTAMP_DIFF(NULL);) 2024.12.17 03:28:34.695073 [ 17871 ] {b387eeb5-0b16-4902-9238-cb608894ef00} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:34.843401 [ 17871 ] {e3d0e763-3da2-4442-9bce-5d9aa20d1a70} executeQuery: Code: 42. DB::Exception: Number of arguments for function TimeDiff doesn't match: passed 1, should be 2: While processing TimeDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT TimeDiff(NULL);) 2024.12.17 03:28:34.846739 [ 17871 ] {e3d0e763-3da2-4442-9bce-5d9aa20d1a70} TCPHandler: Code: 42. DB::Exception: Number of arguments for function TimeDiff doesn't match: passed 1, should be 2: While processing TimeDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.111928 [ 17871 ] {1a246b05-76a7-4eef-b915-034b9a25dccf} executeQuery: Code: 42. DB::Exception: Number of arguments for function UTCTimestamp doesn't match: passed 1, should be 0: While processing UTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT UTCTimestamp(NULL);) 2024.12.17 03:28:35.115324 [ 17871 ] {1a246b05-76a7-4eef-b915-034b9a25dccf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function UTCTimestamp doesn't match: passed 1, should be 0: While processing UTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.156761 [ 17871 ] {27ead6ce-b9c0-4248-a53f-2b4746d6634f} executeQuery: Code: 42. DB::Exception: Number of arguments for function UTCTimestamp doesn't match: passed 1, should be 0: While processing UTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT UTC_timestamp(NULL);) 2024.12.17 03:28:35.165172 [ 17871 ] {27ead6ce-b9c0-4248-a53f-2b4746d6634f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function UTCTimestamp doesn't match: passed 1, should be 0: While processing UTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.505612 [ 17871 ] {c574827f-2b8a-4276-9cea-466aca9ba720} executeQuery: Code: 42. DB::Exception: Number of arguments for function _CAST doesn't match: passed 1, should be 2: While processing _CAST(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT _CAST(NULL);) 2024.12.17 03:28:35.508455 [ 17871 ] {c574827f-2b8a-4276-9cea-466aca9ba720} TCPHandler: Code: 42. DB::Exception: Number of arguments for function _CAST doesn't match: passed 1, should be 2: While processing _CAST(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.545667 [ 17871 ] {eb9bce3d-97e9-4186-b5ee-08cf1b91c666} executeQuery: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskAnd doesn't match: passed 1, should be 2: While processing __bitBoolMaskAnd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT __bitBoolMaskAnd(NULL);) 2024.12.17 03:28:35.549706 [ 17871 ] {eb9bce3d-97e9-4186-b5ee-08cf1b91c666} TCPHandler: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskAnd doesn't match: passed 1, should be 2: While processing __bitBoolMaskAnd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.593735 [ 17871 ] {21e5a652-7929-44a0-ba41-ef1d05170315} executeQuery: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskOr doesn't match: passed 1, should be 2: While processing __bitBoolMaskOr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT __bitBoolMaskOr(NULL);) 2024.12.17 03:28:35.597626 [ 17871 ] {21e5a652-7929-44a0-ba41-ef1d05170315} TCPHandler: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskOr doesn't match: passed 1, should be 2: While processing __bitBoolMaskOr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.852576 [ 17871 ] {3228f4c1-4953-460f-b449-5906f6822243} executeQuery: Code: 42. DB::Exception: Number of arguments for function accurateCast doesn't match: passed 1, should be 2: While processing accurateCast(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT accurateCast(NULL);) 2024.12.17 03:28:35.855955 [ 17871 ] {3228f4c1-4953-460f-b449-5906f6822243} TCPHandler: Code: 42. DB::Exception: Number of arguments for function accurateCast doesn't match: passed 1, should be 2: While processing accurateCast(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.897707 [ 17871 ] {7ecb4977-3499-48e5-8550-8bdb999f9644} executeQuery: Code: 42. DB::Exception: Function accurateCastOrDefault expected 2 or 3 arguments. Actual 1: While processing accurateCastOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT accurateCastOrDefault(NULL);) 2024.12.17 03:28:35.900562 [ 17871 ] {7ecb4977-3499-48e5-8550-8bdb999f9644} TCPHandler: Code: 42. DB::Exception: Function accurateCastOrDefault expected 2 or 3 arguments. Actual 1: While processing accurateCastOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:35.940067 [ 17871 ] {e32ede6e-2689-48f1-a55f-34c040d94515} executeQuery: Code: 42. DB::Exception: Number of arguments for function accurateCastOrNull doesn't match: passed 1, should be 2: While processing accurateCastOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT accurateCastOrNull(NULL);) 2024.12.17 03:28:35.943386 [ 17871 ] {e32ede6e-2689-48f1-a55f-34c040d94515} TCPHandler: Code: 42. DB::Exception: Number of arguments for function accurateCastOrNull doesn't match: passed 1, should be 2: While processing accurateCastOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:36.227949 [ 17871 ] {284259ba-666d-4a43-9192-2abedc3584c5} executeQuery: Code: 42. DB::Exception: Number of arguments for function addInterval doesn't match: passed 1, should be 2: While processing addInterval(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT addInterval(NULL);) 2024.12.17 03:28:36.231046 [ 17871 ] {284259ba-666d-4a43-9192-2abedc3584c5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addInterval doesn't match: passed 1, should be 2: While processing addInterval(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:36.688243 [ 17871 ] {82cc6b2a-1aea-4a57-bfc1-f36dcfd46760} executeQuery: Code: 42. DB::Exception: Number of arguments for function addTupleOfIntervals doesn't match: passed 1, should be 2: While processing addTupleOfIntervals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT addTupleOfIntervals(NULL);) 2024.12.17 03:28:36.691598 [ 17871 ] {82cc6b2a-1aea-4a57-bfc1-f36dcfd46760} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addTupleOfIntervals doesn't match: passed 1, should be 2: While processing addTupleOfIntervals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:36.845881 [ 17871 ] {07babdec-3e1f-44df-95e7-4bc11eeef311} executeQuery: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing addressToLine(NULL). (FUNCTION_NOT_ALLOWED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT addressToLine(NULL);) 2024.12.17 03:28:36.849221 [ 17871 ] {07babdec-3e1f-44df-95e7-4bc11eeef311} TCPHandler: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing addressToLine(NULL). (FUNCTION_NOT_ALLOWED) 2024.12.17 03:28:36.898752 [ 17871 ] {649e63f7-52fe-4433-9e9b-a5be7de25fba} executeQuery: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing addressToLineWithInlines(NULL). (FUNCTION_NOT_ALLOWED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT addressToLineWithInlines(NULL);) 2024.12.17 03:28:36.902651 [ 17871 ] {649e63f7-52fe-4433-9e9b-a5be7de25fba} TCPHandler: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing addressToLineWithInlines(NULL). (FUNCTION_NOT_ALLOWED) 2024.12.17 03:28:36.921450 [ 2793 ] {42be8ae1-a520-4b37-8b61-0a059275b94e} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57600) (comment: 00504_insert_miss_columns.sh) (in query: INSERT INTO advertiser_test SELECT *, sipHash64( CAST(adblock AS String) ), CAST(1 AS Int8) FROM advertiser;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:36.925375 [ 2793 ] {42be8ae1-a520-4b37-8b61-0a059275b94e} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:28:36.944450 [ 17871 ] {fc43eb52-e14b-46f5-871c-1fe9adcef585} executeQuery: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing addressToSymbol(NULL). (FUNCTION_NOT_ALLOWED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT addressToSymbol(NULL);) 2024.12.17 03:28:36.948168 [ 17871 ] {fc43eb52-e14b-46f5-871c-1fe9adcef585} TCPHandler: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing addressToSymbol(NULL). (FUNCTION_NOT_ALLOWED) 2024.12.17 03:28:36.984936 [ 17871 ] {dac5ab9e-bca9-4f7b-8994-8fc9cd96b1f8} executeQuery: Code: 42. DB::Exception: Number of arguments for function aes_decrypt_mysql doesn't match: the function requires more arguments: While processing aes_decrypt_mysql(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT aes_decrypt_mysql(NULL);) 2024.12.17 03:28:36.988520 [ 17871 ] {dac5ab9e-bca9-4f7b-8994-8fc9cd96b1f8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function aes_decrypt_mysql doesn't match: the function requires more arguments: While processing aes_decrypt_mysql(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:37.025991 [ 17871 ] {28342b99-54a1-4b82-8fc3-aa02b5a5cd22} executeQuery: Code: 42. DB::Exception: Number of arguments for function aes_encrypt_mysql doesn't match: the function requires more arguments: While processing aes_encrypt_mysql(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT aes_encrypt_mysql(NULL);) 2024.12.17 03:28:37.029445 [ 17871 ] {28342b99-54a1-4b82-8fc3-aa02b5a5cd22} TCPHandler: Code: 42. DB::Exception: Number of arguments for function aes_encrypt_mysql doesn't match: the function requires more arguments: While processing aes_encrypt_mysql(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:37.066597 [ 17871 ] {7b3b6363-35f4-4501-9b86-6cba7425f473} executeQuery: Code: 42. DB::Exception: Number of arguments for function age doesn't match: the function requires more arguments: While processing age(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT age(NULL);) 2024.12.17 03:28:37.070154 [ 17871 ] {7b3b6363-35f4-4501-9b86-6cba7425f473} TCPHandler: Code: 42. DB::Exception: Number of arguments for function age doesn't match: the function requires more arguments: While processing age(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:37.298281 [ 17871 ] {ed839ac7-1cbe-4b59-90c1-ca6ee3d6e752} executeQuery: Code: 35. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: While processing and(NULL). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT and(NULL);) 2024.12.17 03:28:37.301355 [ 17871 ] {ed839ac7-1cbe-4b59-90c1-ca6ee3d6e752} TCPHandler: Code: 35. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: While processing and(NULL). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) 2024.12.17 03:28:37.676409 [ 17871 ] {f970a3fa-ef37-48ed-9a49-7adcdbeafa8f} executeQuery: Code: 42. DB::Exception: Number of arguments for function appendTrailingCharIfAbsent doesn't match: passed 1, should be 2: While processing appendTrailingCharIfAbsent(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT appendTrailingCharIfAbsent(NULL);) 2024.12.17 03:28:37.680589 [ 17871 ] {f970a3fa-ef37-48ed-9a49-7adcdbeafa8f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function appendTrailingCharIfAbsent doesn't match: passed 1, should be 2: While processing appendTrailingCharIfAbsent(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:37.924722 [ 17871 ] {b6528a00-efcd-4968-a165-d556d89fb357} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayAUC doesn't match: passed 1, should be 2: While processing arrayAUC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayAUC(NULL);) 2024.12.17 03:28:37.927753 [ 17871 ] {b6528a00-efcd-4968-a165-d556d89fb357} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayAUC doesn't match: passed 1, should be 2: While processing arrayAUC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:38.474039 [ 17871 ] {f77dae1a-049c-41ad-b27a-50f174c020c7} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayDotProduct doesn't match: passed 1, should be 2: While processing arrayDotProduct(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayDotProduct(NULL);) 2024.12.17 03:28:38.477019 [ 17871 ] {f77dae1a-049c-41ad-b27a-50f174c020c7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayDotProduct doesn't match: passed 1, should be 2: While processing arrayDotProduct(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:38.514899 [ 17871 ] {4b2efd45-cffb-4818-bc62-318ad0e440f4} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayElement doesn't match: passed 1, should be 2: While processing arrayElement(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayElement(NULL);) 2024.12.17 03:28:38.518053 [ 17871 ] {4b2efd45-cffb-4818-bc62-318ad0e440f4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayElement doesn't match: passed 1, should be 2: While processing arrayElement(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:39.355703 [ 17871 ] {83d914f0-31c4-4c54-bd21-d97d8e2a12b8} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayJaccardIndex doesn't match: passed 1, should be 2: While processing arrayJaccardIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayJaccardIndex(NULL);) 2024.12.17 03:28:39.359150 [ 17871 ] {83d914f0-31c4-4c54-bd21-d97d8e2a12b8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayJaccardIndex doesn't match: passed 1, should be 2: While processing arrayJaccardIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:39.392834 [ 17871 ] {dc38560a-6090-4af0-be04-2e88061f62a2} executeQuery: Code: 53. DB::Exception: ARRAY JOIN requires array argument: While processing arrayJoin(NULL). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayJoin(NULL);) 2024.12.17 03:28:39.401981 [ 17871 ] {dc38560a-6090-4af0-be04-2e88061f62a2} TCPHandler: Code: 53. DB::Exception: ARRAY JOIN requires array argument: While processing arrayJoin(NULL). (TYPE_MISMATCH) 2024.12.17 03:28:40.107872 [ 17871 ] {6a59f615-4b72-454c-a9fa-8e66346fea60} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayPushBack doesn't match: passed 1, should be 2: While processing arrayPushBack(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayPushBack(NULL);) 2024.12.17 03:28:40.112995 [ 17871 ] {6a59f615-4b72-454c-a9fa-8e66346fea60} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayPushBack doesn't match: passed 1, should be 2: While processing arrayPushBack(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:40.149227 [ 17871 ] {090678b4-9a50-42f8-bff7-008c66f3a92f} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayPushFront doesn't match: passed 1, should be 2: While processing arrayPushFront(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayPushFront(NULL);) 2024.12.17 03:28:40.153763 [ 17871 ] {090678b4-9a50-42f8-bff7-008c66f3a92f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayPushFront doesn't match: passed 1, should be 2: While processing arrayPushFront(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:40.202492 [ 17871 ] {764bdf7f-69c7-458e-ade9-11e8443a5d3a} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayReduce doesn't match: the function requires more arguments: While processing arrayReduce(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayReduce(NULL);) 2024.12.17 03:28:40.207460 [ 17871 ] {764bdf7f-69c7-458e-ade9-11e8443a5d3a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayReduce doesn't match: the function requires more arguments: While processing arrayReduce(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:40.250438 [ 17871 ] {0f278ab2-b5c6-40fb-a442-d8284688b5f9} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayReduceInRanges doesn't match: the function requires more arguments: While processing arrayReduceInRanges(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayReduceInRanges(NULL);) 2024.12.17 03:28:40.254529 [ 17871 ] {0f278ab2-b5c6-40fb-a442-d8284688b5f9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayReduceInRanges doesn't match: the function requires more arguments: While processing arrayReduceInRanges(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:40.292850 [ 17871 ] {c3e2ecbe-c90a-48f3-80e0-eb50af980677} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayResize doesn't match: passed 1, should be 2 or 3: While processing arrayResize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayResize(NULL);) 2024.12.17 03:28:40.296394 [ 17871 ] {c3e2ecbe-c90a-48f3-80e0-eb50af980677} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayResize doesn't match: passed 1, should be 2 or 3: While processing arrayResize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:40.567372 [ 17871 ] {de188f1e-1e73-47f3-97ee-9b262aa1630c} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayRotateLeft doesn't match: passed 1, should be 2: While processing arrayRotateLeft(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayRotateLeft(NULL);) 2024.12.17 03:28:40.570551 [ 17871 ] {de188f1e-1e73-47f3-97ee-9b262aa1630c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayRotateLeft doesn't match: passed 1, should be 2: While processing arrayRotateLeft(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:40.607651 [ 17871 ] {58fa63c4-0f59-4e55-9ef3-e69612f00267} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayRotateRight doesn't match: passed 1, should be 2: While processing arrayRotateRight(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayRotateRight(NULL);) 2024.12.17 03:28:40.611292 [ 17871 ] {58fa63c4-0f59-4e55-9ef3-e69612f00267} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayRotateRight doesn't match: passed 1, should be 2: While processing arrayRotateRight(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:40.837214 [ 17871 ] {a70f7e16-ffa4-4073-b527-dce1179d65df} executeQuery: Code: 42. DB::Exception: Number of arguments for function arraySlice doesn't match: passed 1, should be 2 or 3: While processing arraySlice(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arraySlice(NULL);) 2024.12.17 03:28:40.844584 [ 17871 ] {a70f7e16-ffa4-4073-b527-dce1179d65df} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arraySlice doesn't match: passed 1, should be 2 or 3: While processing arraySlice(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:41.154123 [ 17871 ] {2a36add0-1fd3-446c-8b6f-4a06bfa50a31} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayWithConstant doesn't match: passed 1, should be 2: While processing arrayWithConstant(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT arrayWithConstant(NULL);) 2024.12.17 03:28:41.157676 [ 17871 ] {2a36add0-1fd3-446c-8b6f-4a06bfa50a31} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayWithConstant doesn't match: passed 1, should be 2: While processing arrayWithConstant(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:41.313220 [ 17871 ] {05b677e8-83ab-4e53-bcd7-fd393612e3c7} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function with Array suffix. Must be array. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT array_concat_agg(NULL);) 2024.12.17 03:28:41.316933 [ 17871 ] {05b677e8-83ab-4e53-bcd7-fd393612e3c7} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function with Array suffix. Must be array. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:41.531465 [ 17871 ] {1596b069-bf13-4f0d-87d6-ccb83b9c9e7d} executeQuery: Code: 44. DB::Exception: Cannot create non-empty column with type Nothing: While processing assumeNotNull(NULL). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT assumeNotNull(NULL);) 2024.12.17 03:28:41.535568 [ 17871 ] {1596b069-bf13-4f0d-87d6-ccb83b9c9e7d} TCPHandler: Code: 44. DB::Exception: Cannot create non-empty column with type Nothing: While processing assumeNotNull(NULL). (ILLEGAL_COLUMN) 2024.12.17 03:28:41.631683 [ 17871 ] {bfc07462-e0ee-45a7-84f3-308a33a45066} executeQuery: Code: 42. DB::Exception: Number of arguments for function atan2 doesn't match: passed 1, should be 2: While processing atan2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT atan2(NULL);) 2024.12.17 03:28:41.635711 [ 17871 ] {bfc07462-e0ee-45a7-84f3-308a33a45066} TCPHandler: Code: 42. DB::Exception: Number of arguments for function atan2 doesn't match: passed 1, should be 2: While processing atan2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.261015 [ 17871 ] {d13903db-e296-4a58-80c8-b1ba5f6a6fb9} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitAnd doesn't match: passed 1, should be 2: While processing bitAnd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitAnd(NULL);) 2024.12.17 03:28:42.264139 [ 17871 ] {d13903db-e296-4a58-80c8-b1ba5f6a6fb9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitAnd doesn't match: passed 1, should be 2: While processing bitAnd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.347086 [ 17871 ] {dfe9ef1d-db3f-49d1-8877-32dabee245ca} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitHammingDistance doesn't match: passed 1, should be 2: While processing bitHammingDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitHammingDistance(NULL);) 2024.12.17 03:28:42.349926 [ 17871 ] {dfe9ef1d-db3f-49d1-8877-32dabee245ca} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitHammingDistance doesn't match: passed 1, should be 2: While processing bitHammingDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.430329 [ 17871 ] {2f276d67-9c10-40fd-947d-4fe3de6027f3} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitOr doesn't match: passed 1, should be 2: While processing bitOr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitOr(NULL);) 2024.12.17 03:28:42.433223 [ 17871 ] {2f276d67-9c10-40fd-947d-4fe3de6027f3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitOr doesn't match: passed 1, should be 2: While processing bitOr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.515966 [ 17871 ] {c021515d-d09a-4f07-92a5-775585d63b50} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitRotateLeft doesn't match: passed 1, should be 2: While processing bitRotateLeft(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitRotateLeft(NULL);) 2024.12.17 03:28:42.518923 [ 17871 ] {c021515d-d09a-4f07-92a5-775585d63b50} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitRotateLeft doesn't match: passed 1, should be 2: While processing bitRotateLeft(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.553548 [ 17871 ] {f1345fac-673b-45e9-9c12-2a4fd9fc9146} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitRotateRight doesn't match: passed 1, should be 2: While processing bitRotateRight(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitRotateRight(NULL);) 2024.12.17 03:28:42.556652 [ 17871 ] {f1345fac-673b-45e9-9c12-2a4fd9fc9146} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitRotateRight doesn't match: passed 1, should be 2: While processing bitRotateRight(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.594896 [ 17871 ] {c9d806ca-2594-400f-a41b-9b4590332120} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitShiftLeft doesn't match: passed 1, should be 2: While processing bitShiftLeft(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitShiftLeft(NULL);) 2024.12.17 03:28:42.598037 [ 17871 ] {c9d806ca-2594-400f-a41b-9b4590332120} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitShiftLeft doesn't match: passed 1, should be 2: While processing bitShiftLeft(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.634129 [ 17871 ] {3b12b31f-07e2-4bb6-b5bc-9c0555c40376} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitShiftRight doesn't match: passed 1, should be 2: While processing bitShiftRight(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitShiftRight(NULL);) 2024.12.17 03:28:42.637218 [ 17871 ] {3b12b31f-07e2-4bb6-b5bc-9c0555c40376} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitShiftRight doesn't match: passed 1, should be 2: While processing bitShiftRight(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.728551 [ 17871 ] {5285d4d0-5c39-4d68-b361-813391144130} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitTest doesn't match: passed 1, should be 2: While processing bitTest(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitTest(NULL);) 2024.12.17 03:28:42.732207 [ 17871 ] {5285d4d0-5c39-4d68-b361-813391144130} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitTest doesn't match: passed 1, should be 2: While processing bitTest(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.879646 [ 17871 ] {5985d01e-c51b-42b7-ad55-e8847a29a5c8} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitXor doesn't match: passed 1, should be 2: While processing bitXor(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitXor(NULL);) 2024.12.17 03:28:42.882821 [ 17871 ] {5985d01e-c51b-42b7-ad55-e8847a29a5c8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitXor doesn't match: passed 1, should be 2: While processing bitXor(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.920232 [ 17871 ] {4a49f3bc-999a-4903-920c-9ffdba8a1ae2} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapAnd doesn't match: passed 1, should be 2: While processing bitmapAnd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapAnd(NULL);) 2024.12.17 03:28:42.923605 [ 17871 ] {4a49f3bc-999a-4903-920c-9ffdba8a1ae2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapAnd doesn't match: passed 1, should be 2: While processing bitmapAnd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.959675 [ 17871 ] {05e938bc-4054-492b-9749-cd0d7a5896ee} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapAndCardinality doesn't match: passed 1, should be 2: While processing bitmapAndCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapAndCardinality(NULL);) 2024.12.17 03:28:42.962558 [ 17871 ] {05e938bc-4054-492b-9749-cd0d7a5896ee} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapAndCardinality doesn't match: passed 1, should be 2: While processing bitmapAndCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:42.996260 [ 17871 ] {eea33595-ef76-494a-96d7-eabce22f825c} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapAndnot doesn't match: passed 1, should be 2: While processing bitmapAndnot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapAndnot(NULL);) 2024.12.17 03:28:42.999024 [ 17871 ] {eea33595-ef76-494a-96d7-eabce22f825c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapAndnot doesn't match: passed 1, should be 2: While processing bitmapAndnot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.034439 [ 17871 ] {31087412-3017-4171-a6e3-7d837d26e852} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapAndnotCardinality doesn't match: passed 1, should be 2: While processing bitmapAndnotCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapAndnotCardinality(NULL);) 2024.12.17 03:28:43.037527 [ 17871 ] {31087412-3017-4171-a6e3-7d837d26e852} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapAndnotCardinality doesn't match: passed 1, should be 2: While processing bitmapAndnotCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.176255 [ 17871 ] {3f9e3543-8ba2-4dc6-8cd2-2feb96521c11} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapContains doesn't match: passed 1, should be 2: While processing bitmapContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapContains(NULL);) 2024.12.17 03:28:43.179359 [ 17871 ] {3f9e3543-8ba2-4dc6-8cd2-2feb96521c11} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapContains doesn't match: passed 1, should be 2: While processing bitmapContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.209758 [ 17871 ] {e8072841-ff6f-4d36-b295-f27c3f91c66b} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapHasAll doesn't match: passed 1, should be 2: While processing bitmapHasAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapHasAll(NULL);) 2024.12.17 03:28:43.212760 [ 17871 ] {e8072841-ff6f-4d36-b295-f27c3f91c66b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapHasAll doesn't match: passed 1, should be 2: While processing bitmapHasAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.246125 [ 17871 ] {07b11642-2f04-4ccb-94ed-2cd758a7bc8e} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapHasAny doesn't match: passed 1, should be 2: While processing bitmapHasAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapHasAny(NULL);) 2024.12.17 03:28:43.249150 [ 17871 ] {07b11642-2f04-4ccb-94ed-2cd758a7bc8e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapHasAny doesn't match: passed 1, should be 2: While processing bitmapHasAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.380744 [ 17871 ] {7c532b3e-0f38-4398-9545-10325baf63ee} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapOr doesn't match: passed 1, should be 2: While processing bitmapOr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapOr(NULL);) 2024.12.17 03:28:43.383993 [ 17871 ] {7c532b3e-0f38-4398-9545-10325baf63ee} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapOr doesn't match: passed 1, should be 2: While processing bitmapOr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.421877 [ 17871 ] {f25d40e1-76e9-4283-8bef-d5b512520784} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapOrCardinality doesn't match: passed 1, should be 2: While processing bitmapOrCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapOrCardinality(NULL);) 2024.12.17 03:28:43.424819 [ 17871 ] {f25d40e1-76e9-4283-8bef-d5b512520784} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapOrCardinality doesn't match: passed 1, should be 2: While processing bitmapOrCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.453100 [ 17871 ] {cfa4d837-4daf-4526-9fc6-c687b0c49986} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapSubsetInRange doesn't match: passed 1, should be 3: While processing bitmapSubsetInRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapSubsetInRange(NULL);) 2024.12.17 03:28:43.456240 [ 17871 ] {cfa4d837-4daf-4526-9fc6-c687b0c49986} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapSubsetInRange doesn't match: passed 1, should be 3: While processing bitmapSubsetInRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.488594 [ 17871 ] {ff2a159c-b2b0-4e87-beb6-05f1c5fb1038} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapSubsetLimit doesn't match: passed 1, should be 3: While processing bitmapSubsetLimit(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapSubsetLimit(NULL);) 2024.12.17 03:28:43.491922 [ 17871 ] {ff2a159c-b2b0-4e87-beb6-05f1c5fb1038} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapSubsetLimit doesn't match: passed 1, should be 3: While processing bitmapSubsetLimit(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.575986 [ 17871 ] {3b5004be-3042-42e1-8755-296803d396ef} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapTransform doesn't match: passed 1, should be 3: While processing bitmapTransform(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapTransform(NULL);) 2024.12.17 03:28:43.579086 [ 17871 ] {3b5004be-3042-42e1-8755-296803d396ef} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapTransform doesn't match: passed 1, should be 3: While processing bitmapTransform(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.615020 [ 17871 ] {95669fea-eef3-4f44-aa5a-b4836e0094c4} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapXor doesn't match: passed 1, should be 2: While processing bitmapXor(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapXor(NULL);) 2024.12.17 03:28:43.618001 [ 17871 ] {95669fea-eef3-4f44-aa5a-b4836e0094c4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapXor doesn't match: passed 1, should be 2: While processing bitmapXor(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.653888 [ 17871 ] {4f1f1f46-e7c8-4265-b027-33cae23803fb} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapXorCardinality doesn't match: passed 1, should be 2: While processing bitmapXorCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT bitmapXorCardinality(NULL);) 2024.12.17 03:28:43.657275 [ 17871 ] {4f1f1f46-e7c8-4265-b027-33cae23803fb} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapXorCardinality doesn't match: passed 1, should be 2: While processing bitmapXorCardinality(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.801564 [ 17871 ] {5b0d1545-a802-4d09-94b4-b8a47b410c05} executeQuery: Code: 42. DB::Exception: Number of arguments for function blockNumber doesn't match: passed 1, should be 0: While processing blockNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT blockNumber(NULL);) 2024.12.17 03:28:43.804790 [ 17871 ] {5b0d1545-a802-4d09-94b4-b8a47b410c05} TCPHandler: Code: 42. DB::Exception: Number of arguments for function blockNumber doesn't match: passed 1, should be 0: While processing blockNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:43.908502 [ 17871 ] {ab012481-c367-4c19-a8ce-40e7f60e88f7} executeQuery: Code: 42. DB::Exception: Number of arguments for function blockSize doesn't match: passed 1, should be 0: While processing blockSize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT blockSize(NULL);) 2024.12.17 03:28:43.914852 [ 17871 ] {ab012481-c367-4c19-a8ce-40e7f60e88f7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function blockSize doesn't match: passed 1, should be 0: While processing blockSize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:44.021203 [ 17871 ] {961515c2-0e6d-4fbd-9835-e78fec272b61} executeQuery: Code: 42. DB::Exception: Number of arguments for function buildId doesn't match: passed 1, should be 0: While processing buildId(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT buildId(NULL);) 2024.12.17 03:28:44.025027 [ 17871 ] {961515c2-0e6d-4fbd-9835-e78fec272b61} TCPHandler: Code: 42. DB::Exception: Number of arguments for function buildId doesn't match: passed 1, should be 0: While processing buildId(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:44.300754 [ 17871 ] {cc013fd6-c5c7-41bf-87b4-2fe49e4ed0bd} executeQuery: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing caseWithoutExpr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT caseWithoutExpr(NULL);) 2024.12.17 03:28:44.303982 [ 17871 ] {cc013fd6-c5c7-41bf-87b4-2fe49e4ed0bd} TCPHandler: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing caseWithoutExpr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:44.341261 [ 17871 ] {1d72c595-f64f-4bdc-9d66-71625c673c4a} executeQuery: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing caseWithoutExpression(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT caseWithoutExpression(NULL);) 2024.12.17 03:28:44.346013 [ 17871 ] {1d72c595-f64f-4bdc-9d66-71625c673c4a} TCPHandler: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing caseWithoutExpression(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:44.383264 [ 17871 ] {edeffd12-190b-4207-87d5-0e052669e847} executeQuery: Code: 35. DB::Exception: Function catboostEvaluate expects at least 2 arguments: While processing catboostEvaluate(NULL). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT catboostEvaluate(NULL);) 2024.12.17 03:28:44.386547 [ 17871 ] {edeffd12-190b-4207-87d5-0e052669e847} TCPHandler: Code: 35. DB::Exception: Function catboostEvaluate expects at least 2 arguments: While processing catboostEvaluate(NULL). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) 2024.12.17 03:28:44.419071 [ 17871 ] {65ab71de-c54c-473b-bbba-3cd864471160} executeQuery: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT categoricalInformationValue(NULL);) 2024.12.17 03:28:44.422868 [ 17871 ] {65ab71de-c54c-473b-bbba-3cd864471160} TCPHandler: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:45.076995 [ 17871 ] {d71116f7-80d2-45f0-bb59-ca94c5d1bb36} executeQuery: Code: 42. DB::Exception: Number of arguments for function connectionId doesn't match: passed 1, should be 0: While processing connectionId(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT connectionId(NULL);) 2024.12.17 03:28:45.079870 [ 17871 ] {d71116f7-80d2-45f0-bb59-ca94c5d1bb36} TCPHandler: Code: 42. DB::Exception: Number of arguments for function connectionId doesn't match: passed 1, should be 0: While processing connectionId(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:45.112428 [ 17871 ] {362a0d39-c1d1-4f2d-a3bd-b9e94a8bbbcf} executeQuery: Code: 42. DB::Exception: Number of arguments for function connectionId doesn't match: passed 1, should be 0: While processing connectionID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT connection_id(NULL);) 2024.12.17 03:28:45.115744 [ 17871 ] {362a0d39-c1d1-4f2d-a3bd-b9e94a8bbbcf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function connectionId doesn't match: passed 1, should be 0: While processing connectionID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:45.227128 [ 17871 ] {455f71f1-251a-46e5-b174-4cb603f2a787} executeQuery: Code: 42. DB::Exception: Number of arguments for function convertCharset doesn't match: passed 1, should be 3: While processing convertCharset(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT convertCharset(NULL);) 2024.12.17 03:28:45.230872 [ 17871 ] {455f71f1-251a-46e5-b174-4cb603f2a787} TCPHandler: Code: 42. DB::Exception: Number of arguments for function convertCharset doesn't match: passed 1, should be 3: While processing convertCharset(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:45.580843 [ 17871 ] {15a79ad9-d0cf-43c6-9e46-796737da0319} executeQuery: Code: 42. DB::Exception: Number of arguments for function cosineDistance doesn't match: passed 1, should be 2: While processing cosineDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT cosineDistance(NULL);) 2024.12.17 03:28:45.584169 [ 17871 ] {15a79ad9-d0cf-43c6-9e46-796737da0319} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cosineDistance doesn't match: passed 1, should be 2: While processing cosineDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:45.724703 [ 17871 ] {831373c5-ad3a-4331-b98e-df3735fab3b0} executeQuery: Code: 42. DB::Exception: Number of arguments for function countEqual doesn't match: passed 1, should be 2: While processing countEqual(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT countEqual(NULL);) 2024.12.17 03:28:45.727730 [ 17871 ] {831373c5-ad3a-4331-b98e-df3735fab3b0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function countEqual doesn't match: passed 1, should be 2: While processing countEqual(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:45.769475 [ 17871 ] {aa724285-1e58-4fdb-9dbc-81fa15ae7aa4} executeQuery: Code: 42. DB::Exception: Number of arguments for function countMatches doesn't match: passed 1, should be 2: While processing countMatches(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT countMatches(NULL);) 2024.12.17 03:28:45.772478 [ 17871 ] {aa724285-1e58-4fdb-9dbc-81fa15ae7aa4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function countMatches doesn't match: passed 1, should be 2: While processing countMatches(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:45.807087 [ 17871 ] {26a08b3b-63b0-4379-9e1a-83b56cdd4a38} executeQuery: Code: 42. DB::Exception: Number of arguments for function countMatchesCaseInsensitive doesn't match: passed 1, should be 2: While processing countMatchesCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT countMatchesCaseInsensitive(NULL);) 2024.12.17 03:28:45.810224 [ 17871 ] {26a08b3b-63b0-4379-9e1a-83b56cdd4a38} TCPHandler: Code: 42. DB::Exception: Number of arguments for function countMatchesCaseInsensitive doesn't match: passed 1, should be 2: While processing countMatchesCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.468933 [ 17871 ] {37d77714-bda3-4d75-b670-6de0cb1ea076} executeQuery: Code: 42. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: While processing today(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT curdate(NULL);) 2024.12.17 03:28:46.472235 [ 17871 ] {37d77714-bda3-4d75-b670-6de0cb1ea076} TCPHandler: Code: 42. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: While processing today(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.508157 [ 17871 ] {48e08e2c-c2f6-48ec-8e00-af649a20bb46} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT currentDatabase(NULL);) 2024.12.17 03:28:46.511392 [ 17871 ] {48e08e2c-c2f6-48ec-8e00-af649a20bb46} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.547533 [ 17871 ] {451cc687-dd81-4055-83d1-a232b70a5506} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentProfiles doesn't match: passed 1, should be 0: While processing currentProfiles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT currentProfiles(NULL);) 2024.12.17 03:28:46.550901 [ 17871 ] {451cc687-dd81-4055-83d1-a232b70a5506} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentProfiles doesn't match: passed 1, should be 0: While processing currentProfiles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.584079 [ 17871 ] {c5613b61-4a2e-41d8-8396-4f9328ad2c1c} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentRoles doesn't match: passed 1, should be 0: While processing currentRoles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT currentRoles(NULL);) 2024.12.17 03:28:46.587166 [ 17871 ] {c5613b61-4a2e-41d8-8396-4f9328ad2c1c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentRoles doesn't match: passed 1, should be 0: While processing currentRoles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.664561 [ 17871 ] {932ab207-a752-4a8e-a4dd-4d5839806d47} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 1, should be 0: While processing currentUser(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT currentUser(NULL);) 2024.12.17 03:28:46.667383 [ 17871 ] {932ab207-a752-4a8e-a4dd-4d5839806d47} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 1, should be 0: While processing currentUser(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.696446 [ 17871 ] {f98781aa-814f-42aa-b9f6-a32ea5928537} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT current_database(NULL);) 2024.12.17 03:28:46.699153 [ 17871 ] {f98781aa-814f-42aa-b9f6-a32ea5928537} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: While processing currentDatabase(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.729109 [ 17871 ] {d9e37d3b-50b4-47c2-ae80-07e2bb0dfb9d} executeQuery: Code: 42. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: While processing today(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT current_date(NULL);) 2024.12.17 03:28:46.732163 [ 17871 ] {d9e37d3b-50b4-47c2-ae80-07e2bb0dfb9d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: While processing today(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:46.817217 [ 17871 ] {7e8731b2-6627-4729-8059-86033ac3ad31} executeQuery: Code: 43. DB::Exception: Arguments of function now should be String or FixedString: While processing now(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT current_timestamp(NULL);) 2024.12.17 03:28:46.820867 [ 17871 ] {7e8731b2-6627-4729-8059-86033ac3ad31} TCPHandler: Code: 43. DB::Exception: Arguments of function now should be String or FixedString: While processing now(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:46.905550 [ 17871 ] {d4249bfc-190c-48a4-bb93-97815551bd7f} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutIPv6 doesn't match: passed 1, should be 3: While processing cutIPv6(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT cutIPv6(NULL);) 2024.12.17 03:28:46.908491 [ 17871 ] {d4249bfc-190c-48a4-bb93-97815551bd7f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutIPv6 doesn't match: passed 1, should be 3: While processing cutIPv6(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.101128 [ 17871 ] {1e174aa0-b054-4b6a-bf23-757c6a243993} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustom doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustom(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT cutToFirstSignificantSubdomainCustom(NULL);) 2024.12.17 03:28:47.104405 [ 17871 ] {1e174aa0-b054-4b6a-bf23-757c6a243993} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustom doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustom(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.135313 [ 17871 ] {456c048b-acb8-4ac6-9eec-8d240d32062f} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomRFC doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustomRFC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomRFC(NULL);) 2024.12.17 03:28:47.137996 [ 17871 ] {456c048b-acb8-4ac6-9eec-8d240d32062f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomRFC doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustomRFC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.168134 [ 17871 ] {711c21c6-8112-4347-ba23-fe7d03fd9cf6} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWW doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWW(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomWithWWW(NULL);) 2024.12.17 03:28:47.171055 [ 17871 ] {711c21c6-8112-4347-ba23-fe7d03fd9cf6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWW doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWW(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.202888 [ 17871 ] {bc7d6e77-fb55-41a7-b12c-a1b2b7a6907d} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWWRFC doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWWRFC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomWithWWWRFC(NULL);) 2024.12.17 03:28:47.205940 [ 17871 ] {bc7d6e77-fb55-41a7-b12c-a1b2b7a6907d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWWRFC doesn't match: passed 1, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWWRFC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.386415 [ 17871 ] {ede1ed52-c525-4540-966c-d788c1234dc4} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutURLParameter doesn't match: passed 1, should be 2: While processing cutURLParameter(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT cutURLParameter(NULL);) 2024.12.17 03:28:47.389499 [ 17871 ] {ede1ed52-c525-4540-966c-d788c1234dc4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutURLParameter doesn't match: passed 1, should be 2: While processing cutURLParameter(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.475029 [ 17871 ] {c5270eb2-4f69-48e8-996e-1b2cbb008c62} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dateDiff(NULL);) 2024.12.17 03:28:47.477991 [ 17871 ] {c5270eb2-4f69-48e8-996e-1b2cbb008c62} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.511807 [ 17871 ] {c9333de3-c7eb-4b15-afd1-6f02e478996e} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateName doesn't match: the function requires more arguments: While processing dateName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dateName(NULL);) 2024.12.17 03:28:47.515680 [ 17871 ] {c9333de3-c7eb-4b15-afd1-6f02e478996e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateName doesn't match: the function requires more arguments: While processing dateName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.643943 [ 17867 ] {e71ff9ef-e4b8-495b-98b0-1bf2700d8637} executeQuery: Code: 43. DB::Exception: Illegal type UInt16 of argument of function toYYYYMM. Should be Date, Date32, DateTime or DateTime64: While processing toYYYYMM(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54308) (comment: 00427_alter_primary_key.sh) (in query: ALTER TABLE alter_00427 MODIFY COLUMN d UInt16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d317295 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d311078 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000037cddc38 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000037cdeb53 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b916 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c969 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:28:47.648132 [ 17867 ] {e71ff9ef-e4b8-495b-98b0-1bf2700d8637} TCPHandler: Code: 43. DB::Exception: Illegal type UInt16 of argument of function toYYYYMM. Should be Date, Date32, DateTime or DateTime64: While processing toYYYYMM(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d317295 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d311078 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000037cddc38 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000037cdeb53 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b916 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c969 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:28:47.662568 [ 17871 ] {71e7e9e4-34f2-46cd-8523-ba209f2a9e4e} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTrunc doesn't match: the function requires more arguments: While processing dateTrunc(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dateTrunc(NULL);) 2024.12.17 03:28:47.666912 [ 17871 ] {71e7e9e4-34f2-46cd-8523-ba209f2a9e4e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTrunc doesn't match: the function requires more arguments: While processing dateTrunc(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.705161 [ 17871 ] {11487e47-5e54-4519-be17-221008b78c24} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT date_diff(NULL);) 2024.12.17 03:28:47.709372 [ 17871 ] {11487e47-5e54-4519-be17-221008b78c24} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.921547 [ 17871 ] {fe62e5a4-3fbd-46a5-81c4-26174e704654} executeQuery: Code: 42. DB::Exception: Number of arguments for function decrypt doesn't match: the function requires more arguments: While processing decrypt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT decrypt(NULL);) 2024.12.17 03:28:47.924841 [ 17871 ] {fe62e5a4-3fbd-46a5-81c4-26174e704654} TCPHandler: Code: 42. DB::Exception: Number of arguments for function decrypt doesn't match: the function requires more arguments: While processing decrypt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:47.963529 [ 17871 ] {85ccd3c0-a64a-4c1f-827b-31decb7e2c19} executeQuery: Code: 42. DB::Exception: Number of arguments for function defaultProfiles doesn't match: passed 1, should be 0: While processing defaultProfiles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT defaultProfiles(NULL);) 2024.12.17 03:28:47.966919 [ 17871 ] {85ccd3c0-a64a-4c1f-827b-31decb7e2c19} TCPHandler: Code: 42. DB::Exception: Number of arguments for function defaultProfiles doesn't match: passed 1, should be 0: While processing defaultProfiles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.018938 [ 17871 ] {e5420983-e177-48fb-8e5d-145f559b60ab} executeQuery: Code: 42. DB::Exception: Number of arguments for function defaultRoles doesn't match: passed 1, should be 0: While processing defaultRoles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT defaultRoles(NULL);) 2024.12.17 03:28:48.022119 [ 17871 ] {e5420983-e177-48fb-8e5d-145f559b60ab} TCPHandler: Code: 42. DB::Exception: Number of arguments for function defaultRoles doesn't match: passed 1, should be 0: While processing defaultRoles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.118667 [ 17871 ] {5d3feccb-540b-492b-a660-7c9fba45fbf4} executeQuery: Code: 44. DB::Exception: The argument of function defaultValueOfTypeName must be a constant string describing type.: While processing defaultValueOfTypeName(NULL). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT defaultValueOfTypeName(NULL);) 2024.12.17 03:28:48.122341 [ 17871 ] {5d3feccb-540b-492b-a660-7c9fba45fbf4} TCPHandler: Code: 44. DB::Exception: The argument of function defaultValueOfTypeName must be a constant string describing type.: While processing defaultValueOfTypeName(NULL). (ILLEGAL_COLUMN) 2024.12.17 03:28:48.208901 [ 17871 ] {59e072aa-9c92-4f36-a82e-b9990f727988} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function deltaSum. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT deltaSum(NULL);) 2024.12.17 03:28:48.211912 [ 17871 ] {59e072aa-9c92-4f36-a82e-b9990f727988} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function deltaSum. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:48.251695 [ 17871 ] {4b44052e-a3bd-4cac-9fa6-94c6ac2ee71a} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for aggregate function deltaSumTimestamp. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT deltaSumTimestamp(NULL);) 2024.12.17 03:28:48.256428 [ 17871 ] {4b44052e-a3bd-4cac-9fa6-94c6ac2ee71a} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for aggregate function deltaSumTimestamp. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.293865 [ 17871 ] {4b4b2ed2-49de-470f-98fc-5de417e2e11d} executeQuery: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing demangle(NULL). (FUNCTION_NOT_ALLOWED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT demangle(NULL);) 2024.12.17 03:28:48.297086 [ 17871 ] {4b4b2ed2-49de-470f-98fc-5de417e2e11d} TCPHandler: Code: 446. DB::Exception: default: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0: While processing demangle(NULL). (FUNCTION_NOT_ALLOWED) 2024.12.17 03:28:48.350403 [ 17871 ] {ed3ae681-9a37-4ed7-9c7c-af60d4fee6e3} executeQuery: Code: 36. DB::Exception: The function 'dense_rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dense_rank(NULL);) 2024.12.17 03:28:48.354465 [ 17871 ] {ed3ae681-9a37-4ed7-9c7c-af60d4fee6e3} TCPHandler: Code: 36. DB::Exception: The function 'dense_rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) 2024.12.17 03:28:48.395099 [ 17871 ] {1317abf2-54a4-4aa8-9c39-c6114890e0db} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectCharset' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectCharset(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT detectCharset(NULL);) 2024.12.17 03:28:48.398355 [ 17871 ] {1317abf2-54a4-4aa8-9c39-c6114890e0db} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectCharset' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectCharset(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:28:48.432720 [ 17871 ] {45e7b923-b599-41e6-beb5-80c9a8f18c15} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectLanguage' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguage(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT detectLanguage(NULL);) 2024.12.17 03:28:48.436020 [ 17871 ] {45e7b923-b599-41e6-beb5-80c9a8f18c15} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectLanguage' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguage(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:28:48.473143 [ 17871 ] {b2574962-05ae-490b-a1b8-3327761495fb} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectLanguageMixed' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguageMixed(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT detectLanguageMixed(NULL);) 2024.12.17 03:28:48.476457 [ 17871 ] {b2574962-05ae-490b-a1b8-3327761495fb} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectLanguageMixed' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguageMixed(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:28:48.509378 [ 17871 ] {28ee78af-92de-4ba0-b732-460f04e839b9} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectLanguageUnknown' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguageUnknown(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT detectLanguageUnknown(NULL);) 2024.12.17 03:28:48.513045 [ 17871 ] {28ee78af-92de-4ba0-b732-460f04e839b9} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectLanguageUnknown' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguageUnknown(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:28:48.547692 [ 17871 ] {68ae6fc0-dfc0-4a15-b995-e400a18b6af8} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectProgrammingLanguage' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectProgrammingLanguage(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT detectProgrammingLanguage(NULL);) 2024.12.17 03:28:48.550720 [ 17871 ] {68ae6fc0-dfc0-4a15-b995-e400a18b6af8} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectProgrammingLanguage' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectProgrammingLanguage(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:28:48.583871 [ 17871 ] {fe0ed2ba-5b4a-46d8-b29e-009bf6b83b88} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectTonality' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectTonality(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT detectTonality(NULL);) 2024.12.17 03:28:48.735718 [ 17871 ] {fe0ed2ba-5b4a-46d8-b29e-009bf6b83b88} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectTonality' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectTonality(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:28:48.771135 [ 17871 ] {bd67cc1c-b362-40cb-9c68-127267d011a9} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGet(NULL);) 2024.12.17 03:28:48.774245 [ 17871 ] {bd67cc1c-b362-40cb-9c68-127267d011a9} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.808406 [ 17871 ] {999738ad-c1b8-4335-b6ec-bc23d69d52b4} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGetAll: While processing dictGetAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetAll(NULL);) 2024.12.17 03:28:48.812282 [ 17871 ] {999738ad-c1b8-4335-b6ec-bc23d69d52b4} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGetAll: While processing dictGetAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.848404 [ 17871 ] {c207c2df-2265-48a0-8b46-0cbe8d3ef79e} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetChildren doesn't match: passed 1, should be 2: While processing dictGetChildren(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetChildren(NULL);) 2024.12.17 03:28:48.851582 [ 17871 ] {c207c2df-2265-48a0-8b46-0cbe8d3ef79e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetChildren doesn't match: passed 1, should be 2: While processing dictGetChildren(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.884860 [ 17871 ] {3d993a3b-0950-46fc-bb8a-ba2dbba4d4ae} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetDate doesn't match: the function requires more arguments: While processing dictGetDate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetDate(NULL);) 2024.12.17 03:28:48.887965 [ 17871 ] {3d993a3b-0950-46fc-bb8a-ba2dbba4d4ae} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetDate doesn't match: the function requires more arguments: While processing dictGetDate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.923695 [ 17871 ] {3b8146b6-940f-482c-99e2-6a94e4a5dd0b} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetDateOrDefault doesn't match: the function requires more arguments: While processing dictGetDateOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetDateOrDefault(NULL);) 2024.12.17 03:28:48.927135 [ 17871 ] {3b8146b6-940f-482c-99e2-6a94e4a5dd0b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetDateOrDefault doesn't match: the function requires more arguments: While processing dictGetDateOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:48.963452 [ 17871 ] {5b78ce74-d62d-4cd5-b64d-2e5314eb265d} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetDateTime doesn't match: the function requires more arguments: While processing dictGetDateTime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetDateTime(NULL);) 2024.12.17 03:28:48.967488 [ 17871 ] {5b78ce74-d62d-4cd5-b64d-2e5314eb265d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetDateTime doesn't match: the function requires more arguments: While processing dictGetDateTime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.000504 [ 17871 ] {9a35e3f1-97fe-44f2-81ab-767413876152} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetDateTimeOrDefault doesn't match: the function requires more arguments: While processing dictGetDateTimeOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetDateTimeOrDefault(NULL);) 2024.12.17 03:28:49.003679 [ 17871 ] {9a35e3f1-97fe-44f2-81ab-767413876152} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetDateTimeOrDefault doesn't match: the function requires more arguments: While processing dictGetDateTimeOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.038676 [ 17871 ] {e56229ea-9508-491f-a00b-8c10d5180579} executeQuery: Code: 1. DB::Exception: Expected const String column: While processing dictGetDescendants(NULL). (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetDescendants(NULL);) 2024.12.17 03:28:49.041763 [ 17871 ] {e56229ea-9508-491f-a00b-8c10d5180579} TCPHandler: Code: 1. DB::Exception: Expected const String column: While processing dictGetDescendants(NULL). (UNSUPPORTED_METHOD) 2024.12.17 03:28:49.078589 [ 17871 ] {142f19ca-39bb-449c-be79-e438e3514ea4} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetFloat32 doesn't match: the function requires more arguments: While processing dictGetFloat32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetFloat32(NULL);) 2024.12.17 03:28:49.081488 [ 17871 ] {142f19ca-39bb-449c-be79-e438e3514ea4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetFloat32 doesn't match: the function requires more arguments: While processing dictGetFloat32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.117703 [ 17871 ] {a4ebccab-72e3-49f9-a1c1-2217274dc7be} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetFloat32OrDefault doesn't match: the function requires more arguments: While processing dictGetFloat32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetFloat32OrDefault(NULL);) 2024.12.17 03:28:49.120734 [ 17871 ] {a4ebccab-72e3-49f9-a1c1-2217274dc7be} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetFloat32OrDefault doesn't match: the function requires more arguments: While processing dictGetFloat32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.157862 [ 17871 ] {876230d9-4984-4012-bc2f-b1217745b520} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetFloat64 doesn't match: the function requires more arguments: While processing dictGetFloat64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetFloat64(NULL);) 2024.12.17 03:28:49.161014 [ 17871 ] {876230d9-4984-4012-bc2f-b1217745b520} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetFloat64 doesn't match: the function requires more arguments: While processing dictGetFloat64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.199245 [ 17871 ] {1b29bb0a-185b-4ef7-ac6f-0771f55342ca} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetFloat64OrDefault doesn't match: the function requires more arguments: While processing dictGetFloat64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetFloat64OrDefault(NULL);) 2024.12.17 03:28:49.202426 [ 17871 ] {1b29bb0a-185b-4ef7-ac6f-0771f55342ca} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetFloat64OrDefault doesn't match: the function requires more arguments: While processing dictGetFloat64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.240474 [ 17871 ] {a0ffb64a-9822-42b9-a42e-a0727e45512b} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetHierarchy doesn't match: passed 1, should be 2: While processing dictGetHierarchy(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetHierarchy(NULL);) 2024.12.17 03:28:49.244581 [ 17871 ] {a0ffb64a-9822-42b9-a42e-a0727e45512b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetHierarchy doesn't match: passed 1, should be 2: While processing dictGetHierarchy(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.280767 [ 17871 ] {e7e26b19-eab8-465b-84f3-0ef62a706a83} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetIPv4 doesn't match: the function requires more arguments: While processing dictGetIPv4(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetIPv4(NULL);) 2024.12.17 03:28:49.284461 [ 17871 ] {e7e26b19-eab8-465b-84f3-0ef62a706a83} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetIPv4 doesn't match: the function requires more arguments: While processing dictGetIPv4(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.320140 [ 17871 ] {fa020158-017d-4afe-912d-14428e2796bf} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetIPv4OrDefault doesn't match: the function requires more arguments: While processing dictGetIPv4OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetIPv4OrDefault(NULL);) 2024.12.17 03:28:49.323418 [ 17871 ] {fa020158-017d-4afe-912d-14428e2796bf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetIPv4OrDefault doesn't match: the function requires more arguments: While processing dictGetIPv4OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.357430 [ 17871 ] {f1af4767-559d-492b-9206-9354460c7339} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetIPv6 doesn't match: the function requires more arguments: While processing dictGetIPv6(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetIPv6(NULL);) 2024.12.17 03:28:49.361113 [ 17871 ] {f1af4767-559d-492b-9206-9354460c7339} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetIPv6 doesn't match: the function requires more arguments: While processing dictGetIPv6(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.391221 [ 17871 ] {97f2b62e-76b6-47b5-b31f-affcb1eea219} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetIPv6OrDefault doesn't match: the function requires more arguments: While processing dictGetIPv6OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetIPv6OrDefault(NULL);) 2024.12.17 03:28:49.394554 [ 17871 ] {97f2b62e-76b6-47b5-b31f-affcb1eea219} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetIPv6OrDefault doesn't match: the function requires more arguments: While processing dictGetIPv6OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.426969 [ 17871 ] {7d09c3c1-50d1-4d30-880b-3acbb6fd5611} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt16 doesn't match: the function requires more arguments: While processing dictGetInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt16(NULL);) 2024.12.17 03:28:49.429793 [ 17871 ] {7d09c3c1-50d1-4d30-880b-3acbb6fd5611} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt16 doesn't match: the function requires more arguments: While processing dictGetInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.460158 [ 17871 ] {d66d7074-7294-4872-b363-3772537e9544} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt16OrDefault doesn't match: the function requires more arguments: While processing dictGetInt16OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt16OrDefault(NULL);) 2024.12.17 03:28:49.463386 [ 17871 ] {d66d7074-7294-4872-b363-3772537e9544} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt16OrDefault doesn't match: the function requires more arguments: While processing dictGetInt16OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.495551 [ 17871 ] {fdfe04b3-601f-4ec0-97d5-80991b6a1585} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt32 doesn't match: the function requires more arguments: While processing dictGetInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt32(NULL);) 2024.12.17 03:28:49.498683 [ 17871 ] {fdfe04b3-601f-4ec0-97d5-80991b6a1585} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt32 doesn't match: the function requires more arguments: While processing dictGetInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.532170 [ 17871 ] {03eda377-3b7d-46b9-9bc5-8d8f8cfd339d} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt32OrDefault doesn't match: the function requires more arguments: While processing dictGetInt32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt32OrDefault(NULL);) 2024.12.17 03:28:49.535307 [ 17871 ] {03eda377-3b7d-46b9-9bc5-8d8f8cfd339d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt32OrDefault doesn't match: the function requires more arguments: While processing dictGetInt32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.571701 [ 17871 ] {72c362f6-5e10-4b65-9ab5-b96eba83519a} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt64 doesn't match: the function requires more arguments: While processing dictGetInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt64(NULL);) 2024.12.17 03:28:49.574666 [ 17871 ] {72c362f6-5e10-4b65-9ab5-b96eba83519a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt64 doesn't match: the function requires more arguments: While processing dictGetInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.611770 [ 17871 ] {294617a6-4ce6-48a7-b77b-87b26f4a00f7} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt64OrDefault doesn't match: the function requires more arguments: While processing dictGetInt64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt64OrDefault(NULL);) 2024.12.17 03:28:49.614803 [ 17871 ] {294617a6-4ce6-48a7-b77b-87b26f4a00f7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt64OrDefault doesn't match: the function requires more arguments: While processing dictGetInt64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.652252 [ 17871 ] {e1120c35-eee7-4e30-9263-214e6e81be7e} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt8 doesn't match: the function requires more arguments: While processing dictGetInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt8(NULL);) 2024.12.17 03:28:49.655332 [ 17871 ] {e1120c35-eee7-4e30-9263-214e6e81be7e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt8 doesn't match: the function requires more arguments: While processing dictGetInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.692036 [ 17871 ] {f975944b-8508-4f1d-b087-340649154ba4} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt8OrDefault doesn't match: the function requires more arguments: While processing dictGetInt8OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetInt8OrDefault(NULL);) 2024.12.17 03:28:49.695524 [ 17871 ] {f975944b-8508-4f1d-b087-340649154ba4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt8OrDefault doesn't match: the function requires more arguments: While processing dictGetInt8OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.734704 [ 17871 ] {ad19f9c9-c064-4742-b5ba-2f9773b227e2} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetOrDefault(NULL);) 2024.12.17 03:28:49.738153 [ 17871 ] {ad19f9c9-c064-4742-b5ba-2f9773b227e2} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.780139 [ 17871 ] {bdf435d2-f2ae-4824-a7be-cc8b68675931} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetOrNull(NULL);) 2024.12.17 03:28:49.783522 [ 17871 ] {bdf435d2-f2ae-4824-a7be-cc8b68675931} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.822639 [ 17871 ] {c1cb0370-fc31-44b8-a7cf-e7c5637594cb} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetString doesn't match: the function requires more arguments: While processing dictGetString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetString(NULL);) 2024.12.17 03:28:49.825881 [ 17871 ] {c1cb0370-fc31-44b8-a7cf-e7c5637594cb} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetString doesn't match: the function requires more arguments: While processing dictGetString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.864700 [ 17871 ] {baef9ca0-dc81-4290-b83d-2e2c49358c7e} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetStringOrDefault doesn't match: the function requires more arguments: While processing dictGetStringOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetStringOrDefault(NULL);) 2024.12.17 03:28:49.868483 [ 17871 ] {baef9ca0-dc81-4290-b83d-2e2c49358c7e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetStringOrDefault doesn't match: the function requires more arguments: While processing dictGetStringOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.908231 [ 17871 ] {2e85aee5-acc4-4897-9462-178a01cc6fe7} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt16 doesn't match: the function requires more arguments: While processing dictGetUInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt16(NULL);) 2024.12.17 03:28:49.912453 [ 17871 ] {2e85aee5-acc4-4897-9462-178a01cc6fe7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt16 doesn't match: the function requires more arguments: While processing dictGetUInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.952323 [ 17871 ] {6f96cafb-c212-4916-9cb8-a8f00fc5c391} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt16OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt16OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt16OrDefault(NULL);) 2024.12.17 03:28:49.956268 [ 17871 ] {6f96cafb-c212-4916-9cb8-a8f00fc5c391} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt16OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt16OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:49.994913 [ 17871 ] {756f5656-1dce-42b1-9957-5b4415db2d29} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt32 doesn't match: the function requires more arguments: While processing dictGetUInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt32(NULL);) 2024.12.17 03:28:49.998081 [ 17871 ] {756f5656-1dce-42b1-9957-5b4415db2d29} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt32 doesn't match: the function requires more arguments: While processing dictGetUInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.034885 [ 17871 ] {3c1b2378-7e3f-49d4-baec-7a713baa7219} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt32OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt32OrDefault(NULL);) 2024.12.17 03:28:50.038397 [ 17871 ] {3c1b2378-7e3f-49d4-baec-7a713baa7219} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt32OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.082429 [ 17871 ] {d1ecb8f2-827a-4b1f-9910-481760ab128a} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt64 doesn't match: the function requires more arguments: While processing dictGetUInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt64(NULL);) 2024.12.17 03:28:50.085924 [ 17871 ] {d1ecb8f2-827a-4b1f-9910-481760ab128a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt64 doesn't match: the function requires more arguments: While processing dictGetUInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.103489 [ 29459 ] {faf098e6-f7d5-40e4-bece-ded8f3811ffa} executeQuery: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toTime. Should be Date, Date32, DateTime or DateTime64: While processing toTime(c). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54498) (comment: 00427_alter_primary_key.sh) (in query: ALTER TABLE alter_00427 MODIFY COLUMN c UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d301215 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2fca44 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000037cddc38 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000037cdeb53 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b916 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c41d in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:28:50.106745 [ 29459 ] {faf098e6-f7d5-40e4-bece-ded8f3811ffa} TCPHandler: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toTime. Should be Date, Date32, DateTime or DateTime64: While processing toTime(c). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d301215 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2fca44 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000037cddc38 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000037cdeb53 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000003ba5b916 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000003ba59ba4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b91c41d in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cece7c2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9953 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:28:50.128614 [ 17871 ] {245e9048-0d7d-4929-8411-5fae75004ea7} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt64OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt64OrDefault(NULL);) 2024.12.17 03:28:50.133275 [ 17871 ] {245e9048-0d7d-4929-8411-5fae75004ea7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt64OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.172727 [ 17871 ] {5e5fbfaf-9192-40a7-b742-edb6856034d8} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt8 doesn't match: the function requires more arguments: While processing dictGetUInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt8(NULL);) 2024.12.17 03:28:50.176096 [ 17871 ] {5e5fbfaf-9192-40a7-b742-edb6856034d8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt8 doesn't match: the function requires more arguments: While processing dictGetUInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.215059 [ 17871 ] {63cf563b-53ea-48b1-86c8-e494b55da405} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt8OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt8OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUInt8OrDefault(NULL);) 2024.12.17 03:28:50.219262 [ 17871 ] {63cf563b-53ea-48b1-86c8-e494b55da405} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt8OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt8OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.257515 [ 17871 ] {dd3f2982-acee-4bc8-b081-991808a5623b} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUUID doesn't match: the function requires more arguments: While processing dictGetUUID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUUID(NULL);) 2024.12.17 03:28:50.261894 [ 17871 ] {dd3f2982-acee-4bc8-b081-991808a5623b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUUID doesn't match: the function requires more arguments: While processing dictGetUUID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.297199 [ 17871 ] {eb670a69-6a64-4d2c-88cc-77811c656661} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUUIDOrDefault doesn't match: the function requires more arguments: While processing dictGetUUIDOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictGetUUIDOrDefault(NULL);) 2024.12.17 03:28:50.300796 [ 17871 ] {eb670a69-6a64-4d2c-88cc-77811c656661} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUUIDOrDefault doesn't match: the function requires more arguments: While processing dictGetUUIDOrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.337492 [ 17871 ] {e75feb30-c9d0-4502-bf4c-e07a71397539} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictHas doesn't match: the function requires more arguments: While processing dictHas(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictHas(NULL);) 2024.12.17 03:28:50.341729 [ 17871 ] {e75feb30-c9d0-4502-bf4c-e07a71397539} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictHas doesn't match: the function requires more arguments: While processing dictHas(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.378854 [ 17871 ] {025d1d18-5a9c-4a9a-b513-fe567e51b882} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictIsIn doesn't match: passed 1, should be 3: While processing dictIsIn(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dictIsIn(NULL);) 2024.12.17 03:28:50.382044 [ 17871 ] {025d1d18-5a9c-4a9a-b513-fe567e51b882} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictIsIn doesn't match: passed 1, should be 3: While processing dictIsIn(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.423656 [ 17871 ] {95c5c7fa-44da-4504-9e3c-23de8f51836e} executeQuery: Code: 42. DB::Exception: Number of arguments for function displayName doesn't match: passed 1, should be 0: While processing displayName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT displayName(NULL);) 2024.12.17 03:28:50.426783 [ 17871 ] {95c5c7fa-44da-4504-9e3c-23de8f51836e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function displayName doesn't match: passed 1, should be 0: While processing displayName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.468583 [ 17871 ] {7e3f166e-ce0b-473b-810e-6bfbad5467b9} executeQuery: Code: 42. DB::Exception: Number of arguments for function L1Distance doesn't match: passed 1, should be 2: While processing L1Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT distanceL1(NULL);) 2024.12.17 03:28:50.471863 [ 17871 ] {7e3f166e-ce0b-473b-810e-6bfbad5467b9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L1Distance doesn't match: passed 1, should be 2: While processing L1Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.507452 [ 17871 ] {064a6e8f-8050-491f-a9de-12415675e4f0} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT distanceL2(NULL);) 2024.12.17 03:28:50.510735 [ 17871 ] {064a6e8f-8050-491f-a9de-12415675e4f0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.546278 [ 17871 ] {3abaf9dc-8ab6-42d3-a576-11a2bc6594cc} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2SquaredDistance doesn't match: passed 1, should be 2: While processing L2SquaredDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT distanceL2Squared(NULL);) 2024.12.17 03:28:50.549942 [ 17871 ] {3abaf9dc-8ab6-42d3-a576-11a2bc6594cc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2SquaredDistance doesn't match: passed 1, should be 2: While processing L2SquaredDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.588317 [ 17871 ] {54cea37a-c473-4eaf-9684-55634204904b} executeQuery: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 1, should be 2: While processing LinfDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT distanceLinf(NULL);) 2024.12.17 03:28:50.592322 [ 17871 ] {54cea37a-c473-4eaf-9684-55634204904b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 1, should be 2: While processing LinfDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.635600 [ 17871 ] {b7b747e7-ecb2-4487-a87d-71e3e0d87123} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 1, should be 3: While processing LpDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT distanceLp(NULL);) 2024.12.17 03:28:50.640331 [ 17871 ] {b7b747e7-ecb2-4487-a87d-71e3e0d87123} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 1, should be 3: While processing LpDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:50.684918 [ 17871 ] {a944804a-b1e6-4a1d-8381-dc50089235fd} executeQuery: Code: 42. DB::Exception: Number of arguments for function divide doesn't match: passed 1, should be 2: While processing divide(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT divide(NULL);) 2024.12.17 03:28:50.689402 [ 17871 ] {a944804a-b1e6-4a1d-8381-dc50089235fd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function divide doesn't match: passed 1, should be 2: While processing divide(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.006788 [ 17871 ] {68f9d76c-d006-4135-8d8e-85c8e996f815} executeQuery: Code: 42. DB::Exception: Number of arguments for function dotProduct doesn't match: passed 1, should be 2: While processing dotProduct(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT dotProduct(NULL);) 2024.12.17 03:28:51.010097 [ 17871 ] {68f9d76c-d006-4135-8d8e-85c8e996f815} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dotProduct doesn't match: passed 1, should be 2: While processing dotProduct(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.099530 [ 17871 ] {b0329056-e206-445e-8b60-990f78ecba03} executeQuery: Code: 42. DB::Exception: Number of arguments for function e doesn't match: passed 1, should be 0: While processing e(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT e(NULL);) 2024.12.17 03:28:51.102793 [ 17871 ] {b0329056-e206-445e-8b60-990f78ecba03} TCPHandler: Code: 42. DB::Exception: Number of arguments for function e doesn't match: passed 1, should be 0: While processing e(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.189423 [ 17871 ] {6b97fbc9-0ef1-4e53-80ec-762447627765} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayDate doesn't match: passed 1, should be 0: While processing emptyArrayDate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayDate(NULL);) 2024.12.17 03:28:51.193252 [ 17871 ] {6b97fbc9-0ef1-4e53-80ec-762447627765} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayDate doesn't match: passed 1, should be 0: While processing emptyArrayDate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.226558 [ 17871 ] {773391e9-34ba-450c-89e0-8b80940bda4a} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayDateTime doesn't match: passed 1, should be 0: While processing emptyArrayDateTime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayDateTime(NULL);) 2024.12.17 03:28:51.229627 [ 17871 ] {773391e9-34ba-450c-89e0-8b80940bda4a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayDateTime doesn't match: passed 1, should be 0: While processing emptyArrayDateTime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.270506 [ 17871 ] {1d2962fa-12b7-4da5-ad1e-0e6351eeb775} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayFloat32 doesn't match: passed 1, should be 0: While processing emptyArrayFloat32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayFloat32(NULL);) 2024.12.17 03:28:51.275148 [ 17871 ] {1d2962fa-12b7-4da5-ad1e-0e6351eeb775} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayFloat32 doesn't match: passed 1, should be 0: While processing emptyArrayFloat32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.323998 [ 17871 ] {61fff1b8-f2a7-487c-8c31-4e090bbd0da5} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayFloat64 doesn't match: passed 1, should be 0: While processing emptyArrayFloat64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayFloat64(NULL);) 2024.12.17 03:28:51.328679 [ 17871 ] {61fff1b8-f2a7-487c-8c31-4e090bbd0da5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayFloat64 doesn't match: passed 1, should be 0: While processing emptyArrayFloat64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.382015 [ 17871 ] {1955cb6e-ce33-419f-b24f-35c382779f05} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt16 doesn't match: passed 1, should be 0: While processing emptyArrayInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayInt16(NULL);) 2024.12.17 03:28:51.402326 [ 17871 ] {1955cb6e-ce33-419f-b24f-35c382779f05} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt16 doesn't match: passed 1, should be 0: While processing emptyArrayInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.437792 [ 17871 ] {26266118-28a2-4305-8212-e0e8987acd9c} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt32 doesn't match: passed 1, should be 0: While processing emptyArrayInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayInt32(NULL);) 2024.12.17 03:28:51.440992 [ 17871 ] {26266118-28a2-4305-8212-e0e8987acd9c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt32 doesn't match: passed 1, should be 0: While processing emptyArrayInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.478883 [ 17871 ] {93f6192f-93ef-4a63-ae83-509929ef9245} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt64 doesn't match: passed 1, should be 0: While processing emptyArrayInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayInt64(NULL);) 2024.12.17 03:28:51.482372 [ 17871 ] {93f6192f-93ef-4a63-ae83-509929ef9245} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt64 doesn't match: passed 1, should be 0: While processing emptyArrayInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.518703 [ 17871 ] {38884363-3ada-44aa-bc3a-a3c40b14b7fd} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt8 doesn't match: passed 1, should be 0: While processing emptyArrayInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayInt8(NULL);) 2024.12.17 03:28:51.521926 [ 17871 ] {38884363-3ada-44aa-bc3a-a3c40b14b7fd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayInt8 doesn't match: passed 1, should be 0: While processing emptyArrayInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.555171 [ 17871 ] {97f1550e-958d-49ff-815f-0da17d3732f7} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayString doesn't match: passed 1, should be 0: While processing emptyArrayString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayString(NULL);) 2024.12.17 03:28:51.558620 [ 17871 ] {97f1550e-958d-49ff-815f-0da17d3732f7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayString doesn't match: passed 1, should be 0: While processing emptyArrayString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.647254 [ 17871 ] {cdfe28ef-f21f-4f7e-8ae3-b7e5d1277742} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt16 doesn't match: passed 1, should be 0: While processing emptyArrayUInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayUInt16(NULL);) 2024.12.17 03:28:51.652596 [ 17871 ] {cdfe28ef-f21f-4f7e-8ae3-b7e5d1277742} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt16 doesn't match: passed 1, should be 0: While processing emptyArrayUInt16(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.707774 [ 17871 ] {ebe881ea-282f-46de-a293-0ef7f8beb7c0} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt32 doesn't match: passed 1, should be 0: While processing emptyArrayUInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayUInt32(NULL);) 2024.12.17 03:28:51.714102 [ 17871 ] {ebe881ea-282f-46de-a293-0ef7f8beb7c0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt32 doesn't match: passed 1, should be 0: While processing emptyArrayUInt32(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.757702 [ 17871 ] {dc03fa9c-3cc0-4f5a-90df-e5df8a9f6189} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt64 doesn't match: passed 1, should be 0: While processing emptyArrayUInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayUInt64(NULL);) 2024.12.17 03:28:51.763941 [ 17871 ] {dc03fa9c-3cc0-4f5a-90df-e5df8a9f6189} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt64 doesn't match: passed 1, should be 0: While processing emptyArrayUInt64(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.797900 [ 17871 ] {752ae0e3-61a7-4c49-a988-85b87bd136ce} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt8 doesn't match: passed 1, should be 0: While processing emptyArrayUInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT emptyArrayUInt8(NULL);) 2024.12.17 03:28:51.801115 [ 17871 ] {752ae0e3-61a7-4c49-a988-85b87bd136ce} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayUInt8 doesn't match: passed 1, should be 0: While processing emptyArrayUInt8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.836382 [ 17871 ] {55ac5a04-bcd6-4357-a249-7e2ef51b7ad2} executeQuery: Code: 42. DB::Exception: Number of arguments for function enabledProfiles doesn't match: passed 1, should be 0: While processing enabledProfiles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT enabledProfiles(NULL);) 2024.12.17 03:28:51.839341 [ 17871 ] {55ac5a04-bcd6-4357-a249-7e2ef51b7ad2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function enabledProfiles doesn't match: passed 1, should be 0: While processing enabledProfiles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:51.877741 [ 17871 ] {d52ed9c0-4b7d-4755-8bad-cfca3c13c34f} executeQuery: Code: 42. DB::Exception: Number of arguments for function enabledRoles doesn't match: passed 1, should be 0: While processing enabledRoles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT enabledRoles(NULL);) 2024.12.17 03:28:51.881405 [ 17871 ] {d52ed9c0-4b7d-4755-8bad-cfca3c13c34f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function enabledRoles doesn't match: passed 1, should be 0: While processing enabledRoles(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:52.092299 [ 17871 ] {1c0ce60a-09d8-472d-86d1-ddcfccf7ef16} executeQuery: Code: 42. DB::Exception: Number of arguments for function encrypt doesn't match: the function requires more arguments: While processing encrypt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT encrypt(NULL);) 2024.12.17 03:28:52.096747 [ 17871 ] {1c0ce60a-09d8-472d-86d1-ddcfccf7ef16} TCPHandler: Code: 42. DB::Exception: Number of arguments for function encrypt doesn't match: the function requires more arguments: While processing encrypt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:52.135078 [ 17871 ] {9195cf9c-cbe2-419f-a601-5a169996a3bb} executeQuery: Code: 42. DB::Exception: Number of arguments for function endsWith doesn't match: passed 1, should be 2: While processing endsWith(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT endsWith(NULL);) 2024.12.17 03:28:52.138523 [ 17871 ] {9195cf9c-cbe2-419f-a601-5a169996a3bb} TCPHandler: Code: 42. DB::Exception: Number of arguments for function endsWith doesn't match: passed 1, should be 2: While processing endsWith(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:52.175045 [ 17871 ] {012e00d4-428f-4b61-805f-d041db033a5a} executeQuery: Code: 42. DB::Exception: Number of arguments for function endsWithUTF8 doesn't match: passed 1, should be 2: While processing endsWithUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT endsWithUTF8(NULL);) 2024.12.17 03:28:52.178270 [ 17871 ] {012e00d4-428f-4b61-805f-d041db033a5a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function endsWithUTF8 doesn't match: passed 1, should be 2: While processing endsWithUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:52.270071 [ 17871 ] {d4d92a7b-b8d6-4a64-867b-ded30b224b0d} executeQuery: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: While processing equals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT equals(NULL);) 2024.12.17 03:28:52.273627 [ 17871 ] {d4d92a7b-b8d6-4a64-867b-ded30b224b0d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: While processing equals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:52.486907 [ 29459 ] {36d5c09d-2d6e-4e5d-acc9-327ff2322976} executeQuery: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable('', '', ''). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54594) (comment: 00386_has_column_in_table.sql) (in query: /* bad queries */ SELECT hasColumnInTable('', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001365b9bc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:28:52.489476 [ 29459 ] {36d5c09d-2d6e-4e5d-acc9-327ff2322976} TCPHandler: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable('', '', ''). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001365b9bc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:28:52.758010 [ 17871 ] {975f5656-3664-49fb-857d-382c186584fe} executeQuery: Code: 36. DB::Exception: Function exponentialTimeDecayedAvg takes exactly one parameter. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT exponentialTimeDecayedAvg(NULL);) 2024.12.17 03:28:52.760887 [ 17871 ] {975f5656-3664-49fb-857d-382c186584fe} TCPHandler: Code: 36. DB::Exception: Function exponentialTimeDecayedAvg takes exactly one parameter. (BAD_ARGUMENTS) 2024.12.17 03:28:52.795154 [ 17871 ] {9f9825a2-f78a-4bb0-b488-ee3493ede996} executeQuery: Code: 36. DB::Exception: Function exponentialTimeDecayedCount takes exactly one parameter. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT exponentialTimeDecayedCount(NULL);) 2024.12.17 03:28:52.798262 [ 17871 ] {9f9825a2-f78a-4bb0-b488-ee3493ede996} TCPHandler: Code: 36. DB::Exception: Function exponentialTimeDecayedCount takes exactly one parameter. (BAD_ARGUMENTS) 2024.12.17 03:28:52.831353 [ 17871 ] {0f16b7c5-f08c-44a0-877b-3145dfc185ae} executeQuery: Code: 36. DB::Exception: Function exponentialTimeDecayedMax takes exactly one parameter. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT exponentialTimeDecayedMax(NULL);) 2024.12.17 03:28:52.834532 [ 17871 ] {0f16b7c5-f08c-44a0-877b-3145dfc185ae} TCPHandler: Code: 36. DB::Exception: Function exponentialTimeDecayedMax takes exactly one parameter. (BAD_ARGUMENTS) 2024.12.17 03:28:52.870247 [ 17871 ] {da895e80-a7d0-46ba-9104-aca722ac8fdb} executeQuery: Code: 36. DB::Exception: Function exponentialTimeDecayedSum takes exactly one parameter. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT exponentialTimeDecayedSum(NULL);) 2024.12.17 03:28:52.873856 [ 17871 ] {da895e80-a7d0-46ba-9104-aca722ac8fdb} TCPHandler: Code: 36. DB::Exception: Function exponentialTimeDecayedSum takes exactly one parameter. (BAD_ARGUMENTS) 2024.12.17 03:28:52.909135 [ 17871 ] {dd7b251c-dc4c-47d1-afb3-9809960a4daf} executeQuery: Code: 42. DB::Exception: Number of arguments for function extract doesn't match: passed 1, should be 2: While processing extract(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT extract(NULL);) 2024.12.17 03:28:52.911860 [ 17871 ] {dd7b251c-dc4c-47d1-afb3-9809960a4daf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extract doesn't match: passed 1, should be 2: While processing extract(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:52.945750 [ 17871 ] {992dfb48-b250-4179-bb4c-0cb3803b4dad} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAll doesn't match: passed 1, should be 2: While processing extractAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT extractAll(NULL);) 2024.12.17 03:28:52.949222 [ 17871 ] {992dfb48-b250-4179-bb4c-0cb3803b4dad} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAll doesn't match: passed 1, should be 2: While processing extractAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:52.983343 [ 17871 ] {38c157cd-0a0a-484e-9915-6da65963236e} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsVertical doesn't match: passed 1, should be 2: While processing extractAllGroups(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT extractAllGroups(NULL);) 2024.12.17 03:28:52.986321 [ 17871 ] {38c157cd-0a0a-484e-9915-6da65963236e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsVertical doesn't match: passed 1, should be 2: While processing extractAllGroups(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:53.018051 [ 17871 ] {660927a6-e45a-4d76-9b6b-cd07abfeb3e4} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT extractAllGroupsHorizontal(NULL);) 2024.12.17 03:28:53.021148 [ 17871 ] {660927a6-e45a-4d76-9b6b-cd07abfeb3e4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:53.052769 [ 29459 ] {f47b12c2-45ac-4b90-a61b-a6c07ccc1052} executeQuery: Code: 81. DB::Exception: Empty database name: While processing hasColumnInTable('', 't', 'c'). (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54594) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable('', 't', 'c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037acf864 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000136589b0 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:28:53.053444 [ 17871 ] {e6c5063b-a601-4433-9437-693751020333} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsVertical doesn't match: passed 1, should be 2: While processing extractAllGroupsVertical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT extractAllGroupsVertical(NULL);) 2024.12.17 03:28:53.055621 [ 29459 ] {f47b12c2-45ac-4b90-a61b-a6c07ccc1052} TCPHandler: Code: 81. DB::Exception: Empty database name: While processing hasColumnInTable('', 't', 'c'). (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037acf864 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000136589b0 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:28:53.056390 [ 17871 ] {e6c5063b-a601-4433-9437-693751020333} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsVertical doesn't match: passed 1, should be 2: While processing extractAllGroupsVertical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:53.082040 [ 29459 ] {2880e321-1f97-4436-8244-7c9dcd1bda6b} executeQuery: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable(currentDatabase(), '', 'c'). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54594) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable(currentDatabase(), '', 'c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001365b9bc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:28:53.084282 [ 29459 ] {2880e321-1f97-4436-8244-7c9dcd1bda6b} TCPHandler: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable(currentDatabase(), '', 'c'). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001365b9bc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 2024.12.17 03:28:53.089025 [ 17871 ] {75a19764-abc2-48fd-b8df-da3a8d27a0d0} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT extractGroups(NULL);) 2024.12.17 03:28:53.092819 [ 17871 ] {75a19764-abc2-48fd-b8df-da3a8d27a0d0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:53.285603 [ 17871 ] {bdb4b24a-65eb-4658-aa87-b1ed4488b914} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractURLParameter doesn't match: passed 1, should be 2: While processing extractURLParameter(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT extractURLParameter(NULL);) 2024.12.17 03:28:53.288991 [ 17871 ] {bdb4b24a-65eb-4658-aa87-b1ed4488b914} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractURLParameter doesn't match: passed 1, should be 2: While processing extractURLParameter(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:53.571900 [ 17871 ] {2289426c-b9e2-44a9-b299-5496de979018} executeQuery: Code: 48. DB::Exception: file is only implemented for type String: While processing file(NULL). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT file(NULL);) 2024.12.17 03:28:53.574832 [ 17871 ] {2289426c-b9e2-44a9-b299-5496de979018} TCPHandler: Code: 48. DB::Exception: file is only implemented for type String: While processing file(NULL). (NOT_IMPLEMENTED) 2024.12.17 03:28:53.645215 [ 29459 ] {6879ddfa-6222-4204-9376-50d6422b07a4} executeQuery: Code: 81. DB::Exception: Database d does not exist: While processing hasColumnInTable('d', 't', 's'). (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54594) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable('d', 't', 's');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad34cf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000136589b0 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:28:53.647589 [ 29459 ] {6879ddfa-6222-4204-9376-50d6422b07a4} TCPHandler: Code: 81. DB::Exception: Database d does not exist: While processing hasColumnInTable('d', 't', 's'). (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad34cf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000136589b0 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:28:53.917557 [ 17871 ] {d76ea80f-b9ef-469f-bd63-3cda406ff28f} executeQuery: Code: 42. DB::Exception: Number of arguments for function firstSignificantSubdomainCustom doesn't match: passed 1, should be 2: While processing firstSignificantSubdomainCustom(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT firstSignificantSubdomainCustom(NULL);) 2024.12.17 03:28:53.921553 [ 17871 ] {d76ea80f-b9ef-469f-bd63-3cda406ff28f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function firstSignificantSubdomainCustom doesn't match: passed 1, should be 2: While processing firstSignificantSubdomainCustom(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:53.960879 [ 17871 ] {24c14e08-df83-4750-9861-f6f97a36a6de} executeQuery: Code: 42. DB::Exception: Number of arguments for function firstSignificantSubdomainCustomRFC doesn't match: passed 1, should be 2: While processing firstSignificantSubdomainCustomRFC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT firstSignificantSubdomainCustomRFC(NULL);) 2024.12.17 03:28:53.964518 [ 17871 ] {24c14e08-df83-4750-9861-f6f97a36a6de} TCPHandler: Code: 42. DB::Exception: Number of arguments for function firstSignificantSubdomainCustomRFC doesn't match: passed 1, should be 2: While processing firstSignificantSubdomainCustomRFC(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:54.175108 [ 17871 ] {e7550aee-7f54-4ec0-82d5-411d847bc322} executeQuery: Code: 446. DB::Exception: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0. (FUNCTION_NOT_ALLOWED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT flameGraph(NULL);) 2024.12.17 03:28:54.178565 [ 17871 ] {e7550aee-7f54-4ec0-82d5-411d847bc322} TCPHandler: Code: 446. DB::Exception: Introspection functions are disabled, because setting 'allow_introspection_functions' is set to 0. (FUNCTION_NOT_ALLOWED) 2024.12.17 03:28:54.205167 [ 29459 ] {6619699c-ff21-4c10-9575-c41d2c2a3c84} executeQuery: Code: 60. DB::Exception: Table test_kkyldzp2.t does not exist: While processing hasColumnInTable(currentDatabase(), 't', 's'). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54594) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable(currentDatabase(), 't', 's');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000136589b0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:28:54.207810 [ 29459 ] {6619699c-ff21-4c10-9575-c41d2c2a3c84} TCPHandler: Code: 60. DB::Exception: Table test_kkyldzp2.t does not exist: While processing hasColumnInTable(currentDatabase(), 't', 's'). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000136589b0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 2024.12.17 03:28:54.728657 [ 17871 ] {562d7fef-e2cd-4443-bc9e-591e9bf7d661} executeQuery: Code: 42. DB::Exception: Function formatRow requires at least two arguments: the format name and its output expression(s): While processing formatRow(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT formatRow(NULL);) 2024.12.17 03:28:54.731612 [ 17871 ] {562d7fef-e2cd-4443-bc9e-591e9bf7d661} TCPHandler: Code: 42. DB::Exception: Function formatRow requires at least two arguments: the format name and its output expression(s): While processing formatRow(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:54.761673 [ 17871 ] {9675ae82-2b07-4ae8-b296-1efc823cc71a} executeQuery: Code: 42. DB::Exception: Function formatRowNoNewline requires at least two arguments: the format name and its output expression(s): While processing formatRowNoNewline(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT formatRowNoNewline(NULL);) 2024.12.17 03:28:54.764887 [ 17871 ] {9675ae82-2b07-4ae8-b296-1efc823cc71a} TCPHandler: Code: 42. DB::Exception: Function formatRowNoNewline requires at least two arguments: the format name and its output expression(s): While processing formatRowNoNewline(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:54.948941 [ 17871 ] {ef35e1f8-7e90-4f0e-8042-47a34c6e8caf} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromUTCTimestamp doesn't match: passed 1, should be 2: While processing fromUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT fromUTCTimestamp(NULL);) 2024.12.17 03:28:54.952166 [ 17871 ] {ef35e1f8-7e90-4f0e-8042-47a34c6e8caf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromUTCTimestamp doesn't match: passed 1, should be 2: While processing fromUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.261534 [ 17871 ] {355ba1c3-a788-42aa-b4a7-fd1a66e8a2e0} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromUTCTimestamp doesn't match: passed 1, should be 2: While processing fromUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT from_utc_timestamp(NULL);) 2024.12.17 03:28:55.264711 [ 17871 ] {355ba1c3-a788-42aa-b4a7-fd1a66e8a2e0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromUTCTimestamp doesn't match: passed 1, should be 2: While processing fromUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.299890 [ 17871 ] {8ea89ea4-0a50-4def-bbde-d187e66486a6} executeQuery: Code: 42. DB::Exception: Number of arguments for function FQDN doesn't match: passed 1, should be 0: While processing fullHostName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT fullHostName(NULL);) 2024.12.17 03:28:55.303541 [ 17871 ] {8ea89ea4-0a50-4def-bbde-d187e66486a6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function FQDN doesn't match: passed 1, should be 0: While processing fullHostName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.336431 [ 17871 ] {5da1157b-9b2c-4d8b-82d8-317f11e4368d} executeQuery: Code: 42. DB::Exception: Number of arguments for function fuzzBits doesn't match: passed 1, should be 2: While processing fuzzBits(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT fuzzBits(NULL);) 2024.12.17 03:28:55.339944 [ 17871 ] {5da1157b-9b2c-4d8b-82d8-317f11e4368d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fuzzBits doesn't match: passed 1, should be 2: While processing fuzzBits(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.429870 [ 17871 ] {5885a360-8e5c-460c-a01f-8439aaefdca3} executeQuery: Code: 42. DB::Exception: Number of arguments for function gcd doesn't match: passed 1, should be 2: While processing gcd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT gcd(NULL);) 2024.12.17 03:28:55.433913 [ 17871 ] {5885a360-8e5c-460c-a01f-8439aaefdca3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function gcd doesn't match: passed 1, should be 2: While processing gcd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.647403 [ 17871 ] {567e5bf3-e8cb-4e70-8f3f-9a944180a9d2} executeQuery: Code: 42. DB::Exception: Number of arguments for function geoDistance doesn't match: passed 1, should be 4: While processing geoDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT geoDistance(NULL);) 2024.12.17 03:28:55.651114 [ 17871 ] {567e5bf3-e8cb-4e70-8f3f-9a944180a9d2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function geoDistance doesn't match: passed 1, should be 4: While processing geoDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.690449 [ 17871 ] {13c2b699-c927-4d90-989f-750161a41f13} executeQuery: Code: 42. DB::Exception: Number of arguments for function geoToH3 doesn't match: passed 1, should be 3: While processing geoToH3(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT geoToH3(NULL);) 2024.12.17 03:28:55.694803 [ 17871 ] {13c2b699-c927-4d90-989f-750161a41f13} TCPHandler: Code: 42. DB::Exception: Number of arguments for function geoToH3 doesn't match: passed 1, should be 3: While processing geoToH3(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.737404 [ 17871 ] {3aa4aecb-6342-46ce-8ae9-44807168c7a7} executeQuery: Code: 42. DB::Exception: Number of arguments for function geoToS2 doesn't match: passed 1, should be 2: While processing geoToS2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT geoToS2(NULL);) 2024.12.17 03:28:55.744053 [ 17871 ] {3aa4aecb-6342-46ce-8ae9-44807168c7a7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function geoToS2 doesn't match: passed 1, should be 2: While processing geoToS2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.897827 [ 17871 ] {5391172f-b4c0-4e04-94db-590fc9cc4535} executeQuery: Code: 42. DB::Exception: Number of arguments for function geohashesInBox doesn't match: passed 1, should be 5: While processing geohashesInBox(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT geohashesInBox(NULL);) 2024.12.17 03:28:55.903096 [ 17871 ] {5391172f-b4c0-4e04-94db-590fc9cc4535} TCPHandler: Code: 42. DB::Exception: Number of arguments for function geohashesInBox doesn't match: passed 1, should be 5: While processing geohashesInBox(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:55.999966 [ 17871 ] {725be927-0183-49e5-bd1a-11cfcfcf7bd3} executeQuery: Code: 42. DB::Exception: Number of arguments for function getOSKernelVersion doesn't match: passed 1, should be 0: While processing getOSKernelVersion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT getOSKernelVersion(NULL);) 2024.12.17 03:28:56.003422 [ 17871 ] {725be927-0183-49e5-bd1a-11cfcfcf7bd3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function getOSKernelVersion doesn't match: passed 1, should be 0: While processing getOSKernelVersion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.035582 [ 17871 ] {fc0a9cd8-59b6-439a-b9db-023e4e5674c4} executeQuery: Code: 43. DB::Exception: The argument of function getServerPort should be a constant string with the name of a setting: While processing getServerPort(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT getServerPort(NULL);) 2024.12.17 03:28:56.038802 [ 17871 ] {fc0a9cd8-59b6-439a-b9db-023e4e5674c4} TCPHandler: Code: 43. DB::Exception: The argument of function getServerPort should be a constant string with the name of a setting: While processing getServerPort(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:56.117117 [ 17871 ] {eaa5a3f0-5d91-4653-bd73-bb128670173e} executeQuery: Code: 43. DB::Exception: The argument for function getSizeOfEnumType must be Enum: While processing getSizeOfEnumType(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT getSizeOfEnumType(NULL);) 2024.12.17 03:28:56.120668 [ 17871 ] {eaa5a3f0-5d91-4653-bd73-bb128670173e} TCPHandler: Code: 43. DB::Exception: The argument for function getSizeOfEnumType must be Enum: While processing getSizeOfEnumType(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:28:56.152128 [ 17871 ] {782646a3-310a-408d-882a-15bd4a3863a7} executeQuery: Code: 42. DB::Exception: Number of arguments for function getSubcolumn doesn't match: passed 1, should be 2: While processing getSubcolumn(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT getSubcolumn(NULL);) 2024.12.17 03:28:56.154920 [ 17871 ] {782646a3-310a-408d-882a-15bd4a3863a7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function getSubcolumn doesn't match: passed 1, should be 2: While processing getSubcolumn(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.222438 [ 17871 ] {b0ea3724-69ed-4145-a410-13f277d804ed} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalIn(NULL);) 2024.12.17 03:28:56.225314 [ 17871 ] {b0ea3724-69ed-4145-a410-13f277d804ed} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.253396 [ 17871 ] {de7341f7-4fca-409e-b73f-e2f57c127d60} executeQuery: Code: 42. DB::Exception: Number of arguments for function globalInIgnoreSet doesn't match: passed 1, should be 2: While processing globalInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalInIgnoreSet(NULL);) 2024.12.17 03:28:56.256078 [ 17871 ] {de7341f7-4fca-409e-b73f-e2f57c127d60} TCPHandler: Code: 42. DB::Exception: Number of arguments for function globalInIgnoreSet doesn't match: passed 1, should be 2: While processing globalInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.277205 [ 17871 ] {2a57599c-273b-4527-9445-f8524f085d04} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalNotIn(NULL);) 2024.12.17 03:28:56.280037 [ 17871 ] {2a57599c-273b-4527-9445-f8524f085d04} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.307482 [ 17871 ] {2cae03bf-f0f3-4c52-b5d2-c8164ae10972} executeQuery: Code: 42. DB::Exception: Number of arguments for function globalNotInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNotInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalNotInIgnoreSet(NULL);) 2024.12.17 03:28:56.310575 [ 17871 ] {2cae03bf-f0f3-4c52-b5d2-c8164ae10972} TCPHandler: Code: 42. DB::Exception: Number of arguments for function globalNotInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNotInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.331903 [ 17871 ] {ce8b5735-4720-42f3-9ab7-2eb09dbf2f5f} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalNotNullIn(NULL);) 2024.12.17 03:28:56.334488 [ 17871 ] {ce8b5735-4720-42f3-9ab7-2eb09dbf2f5f} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.363209 [ 17871 ] {a40f6ed4-4b39-4821-9ab9-a4d457a72e9b} executeQuery: Code: 42. DB::Exception: Number of arguments for function globalNotNullInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNotNullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalNotNullInIgnoreSet(NULL);) 2024.12.17 03:28:56.365848 [ 17871 ] {a40f6ed4-4b39-4821-9ab9-a4d457a72e9b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function globalNotNullInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNotNullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.387241 [ 17871 ] {60788737-b63f-48fe-acec-4f26e1825ba4} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalNullIn(NULL);) 2024.12.17 03:28:56.390322 [ 17871 ] {60788737-b63f-48fe-acec-4f26e1825ba4} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.417555 [ 17871 ] {02b76a6f-02d1-4fb0-bf37-46e051100ffd} executeQuery: Code: 42. DB::Exception: Number of arguments for function globalNullInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT globalNullInIgnoreSet(NULL);) 2024.12.17 03:28:56.420176 [ 17871 ] {02b76a6f-02d1-4fb0-bf37-46e051100ffd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function globalNullInIgnoreSet doesn't match: passed 1, should be 2: While processing globalNullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.496162 [ 17871 ] {b1d555cd-8766-44be-8a78-01cd235d7ee8} executeQuery: Code: 42. DB::Exception: Number of arguments for function greatCircleAngle doesn't match: passed 1, should be 4: While processing greatCircleAngle(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT greatCircleAngle(NULL);) 2024.12.17 03:28:56.498896 [ 17871 ] {b1d555cd-8766-44be-8a78-01cd235d7ee8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function greatCircleAngle doesn't match: passed 1, should be 4: While processing greatCircleAngle(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.539586 [ 17871 ] {e537207e-5296-4d60-a2cb-285a312de56b} executeQuery: Code: 42. DB::Exception: Number of arguments for function greatCircleDistance doesn't match: passed 1, should be 4: While processing greatCircleDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT greatCircleDistance(NULL);) 2024.12.17 03:28:56.542107 [ 17871 ] {e537207e-5296-4d60-a2cb-285a312de56b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function greatCircleDistance doesn't match: passed 1, should be 4: While processing greatCircleDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.573710 [ 17871 ] {6edee4e6-ebfb-484e-9dc7-1a204605ad74} executeQuery: Code: 42. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: While processing greater(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT greater(NULL);) 2024.12.17 03:28:56.576415 [ 17871 ] {6edee4e6-ebfb-484e-9dc7-1a204605ad74} TCPHandler: Code: 42. DB::Exception: Number of arguments for function greater doesn't match: passed 1, should be 2: While processing greater(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:56.606570 [ 17871 ] {83a5cc50-d725-480c-b11c-d18475ea6e70} executeQuery: Code: 42. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: While processing greaterOrEquals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT greaterOrEquals(NULL);) 2024.12.17 03:28:56.609626 [ 17871 ] {83a5cc50-d725-480c-b11c-d18475ea6e70} TCPHandler: Code: 42. DB::Exception: Number of arguments for function greaterOrEquals doesn't match: passed 1, should be 2: While processing greaterOrEquals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:57.602839 [ 17871 ] {95141c70-37e4-42ab-ac66-051f4fbf6c54} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3Distance doesn't match: passed 1, should be 2: While processing h3Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3Distance(NULL);) 2024.12.17 03:28:57.605819 [ 17871 ] {95141c70-37e4-42ab-ac66-051f4fbf6c54} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3Distance doesn't match: passed 1, should be 2: While processing h3Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:58.430970 [ 17871 ] {04a0fade-ce0a-4f6c-b208-0710e54aec47} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3GetRes0Indexes(NULL);) 2024.12.17 03:28:58.434185 [ 17871 ] {04a0fade-ce0a-4f6c-b208-0710e54aec47} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:58.518655 [ 17871 ] {b9c0f3af-9af9-4735-932e-eaf2a6289e31} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3GetUnidirectionalEdge doesn't match: passed 1, should be 2: While processing h3GetUnidirectionalEdge(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3GetUnidirectionalEdge(NULL);) 2024.12.17 03:28:58.521772 [ 17871 ] {b9c0f3af-9af9-4735-932e-eaf2a6289e31} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3GetUnidirectionalEdge doesn't match: passed 1, should be 2: While processing h3GetUnidirectionalEdge(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:58.779984 [ 17871 ] {4e6aa9e5-cb12-4543-add9-ca62ee338a6b} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3HexRing doesn't match: passed 1, should be 2: While processing h3HexRing(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3HexRing(NULL);) 2024.12.17 03:28:58.784565 [ 17871 ] {4e6aa9e5-cb12-4543-add9-ca62ee338a6b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3HexRing doesn't match: passed 1, should be 2: While processing h3HexRing(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:58.823318 [ 17871 ] {df44e0a3-50bb-403d-926c-d57b10c94478} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3IndexesAreNeighbors doesn't match: passed 1, should be 2: While processing h3IndexesAreNeighbors(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3IndexesAreNeighbors(NULL);) 2024.12.17 03:28:58.827861 [ 17871 ] {df44e0a3-50bb-403d-926c-d57b10c94478} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3IndexesAreNeighbors doesn't match: passed 1, should be 2: While processing h3IndexesAreNeighbors(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.101151 [ 17871 ] {5b5817f9-6a3a-4c39-9349-f7f87c3143a1} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3Line doesn't match: passed 1, should be 2: While processing h3Line(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3Line(NULL);) 2024.12.17 03:28:59.109845 [ 17871 ] {5b5817f9-6a3a-4c39-9349-f7f87c3143a1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3Line doesn't match: passed 1, should be 2: While processing h3Line(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.196841 [ 17871 ] {c4d5aaf2-adcb-4fa4-9565-578da4046cf5} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3PointDistKm doesn't match: passed 1, should be 4: While processing h3PointDistKm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3PointDistKm(NULL);) 2024.12.17 03:28:59.199923 [ 17871 ] {c4d5aaf2-adcb-4fa4-9565-578da4046cf5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3PointDistKm doesn't match: passed 1, should be 4: While processing h3PointDistKm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.229668 [ 17871 ] {729aa38a-519b-437c-b479-86ac95967230} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3PointDistM doesn't match: passed 1, should be 4: While processing h3PointDistM(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3PointDistM(NULL);) 2024.12.17 03:28:59.233261 [ 17871 ] {729aa38a-519b-437c-b479-86ac95967230} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3PointDistM doesn't match: passed 1, should be 4: While processing h3PointDistM(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.263227 [ 17871 ] {0d993a99-17b7-4334-b7b6-73e5482fa127} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3PointDistRads doesn't match: passed 1, should be 4: While processing h3PointDistRads(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3PointDistRads(NULL);) 2024.12.17 03:28:59.266490 [ 17871 ] {0d993a99-17b7-4334-b7b6-73e5482fa127} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3PointDistRads doesn't match: passed 1, should be 4: While processing h3PointDistRads(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.299614 [ 17871 ] {ca4b83ae-d75b-4242-8027-028a151899f2} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3ToCenterChild doesn't match: passed 1, should be 2: While processing h3ToCenterChild(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3ToCenterChild(NULL);) 2024.12.17 03:28:59.303117 [ 17871 ] {ca4b83ae-d75b-4242-8027-028a151899f2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3ToCenterChild doesn't match: passed 1, should be 2: While processing h3ToCenterChild(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.336312 [ 17871 ] {8f9e78a4-ddc9-409a-930c-bb276c4c4d7a} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3ToChildren doesn't match: passed 1, should be 2: While processing h3ToChildren(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3ToChildren(NULL);) 2024.12.17 03:28:59.339290 [ 17871 ] {8f9e78a4-ddc9-409a-930c-bb276c4c4d7a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3ToChildren doesn't match: passed 1, should be 2: While processing h3ToChildren(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.471972 [ 17871 ] {32e0541a-8558-426b-9571-11a29ac60334} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3ToParent doesn't match: passed 1, should be 2: While processing h3ToParent(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3ToParent(NULL);) 2024.12.17 03:28:59.475611 [ 17871 ] {32e0541a-8558-426b-9571-11a29ac60334} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3ToParent doesn't match: passed 1, should be 2: While processing h3ToParent(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.697549 [ 17871 ] {8e38ecbc-6a6d-41ad-a113-7e49f78386b8} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3kRing doesn't match: passed 1, should be 2: While processing h3kRing(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT h3kRing(NULL);) 2024.12.17 03:28:59.702557 [ 17871 ] {8e38ecbc-6a6d-41ad-a113-7e49f78386b8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3kRing doesn't match: passed 1, should be 2: While processing h3kRing(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:28:59.933339 [ 17871 ] {691c4ca2-5d0a-4bc8-b6e0-900c619ea0a1} executeQuery: Code: 42. DB::Exception: Number of arguments for function has doesn't match: passed 1, should be 2: While processing has(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT has(NULL);) 2024.12.17 03:28:59.940646 [ 17871 ] {691c4ca2-5d0a-4bc8-b6e0-900c619ea0a1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function has doesn't match: passed 1, should be 2: While processing has(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.041039 [ 17871 ] {8432950e-6332-4f3d-b0aa-bc81e35323d1} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasAll doesn't match: passed 1, should be 2: While processing hasAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasAll(NULL);) 2024.12.17 03:29:00.052390 [ 17871 ] {8432950e-6332-4f3d-b0aa-bc81e35323d1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasAll doesn't match: passed 1, should be 2: While processing hasAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.200447 [ 17871 ] {bbb05e02-0348-4270-89db-624aa0b22b74} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasAny doesn't match: passed 1, should be 2: While processing hasAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasAny(NULL);) 2024.12.17 03:29:00.205033 [ 17871 ] {bbb05e02-0348-4270-89db-624aa0b22b74} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasAny doesn't match: passed 1, should be 2: While processing hasAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.369665 [ 17871 ] {58356b10-2847-42ed-93d5-50a2eb005808} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasSubsequence doesn't match: passed 1, should be 2: While processing hasSubsequence(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasSubsequence(NULL);) 2024.12.17 03:29:00.390063 [ 17871 ] {58356b10-2847-42ed-93d5-50a2eb005808} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasSubsequence doesn't match: passed 1, should be 2: While processing hasSubsequence(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.439913 [ 17871 ] {112ba48a-a7e1-47c5-baba-7a967def901e} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasSubsequenceCaseInsensitive doesn't match: passed 1, should be 2: While processing hasSubsequenceCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasSubsequenceCaseInsensitive(NULL);) 2024.12.17 03:29:00.444271 [ 17871 ] {112ba48a-a7e1-47c5-baba-7a967def901e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasSubsequenceCaseInsensitive doesn't match: passed 1, should be 2: While processing hasSubsequenceCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.486997 [ 17871 ] {e2bfc480-c2e4-405b-b653-e6d4e12b175d} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasSubsequenceCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing hasSubsequenceCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasSubsequenceCaseInsensitiveUTF8(NULL);) 2024.12.17 03:29:00.503025 [ 17871 ] {e2bfc480-c2e4-405b-b653-e6d4e12b175d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasSubsequenceCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing hasSubsequenceCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.577828 [ 17871 ] {45b3cdea-9c73-47ac-a7b2-b20721af7585} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasSubsequenceUTF8 doesn't match: passed 1, should be 2: While processing hasSubsequenceUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasSubsequenceUTF8(NULL);) 2024.12.17 03:29:00.588992 [ 17871 ] {45b3cdea-9c73-47ac-a7b2-b20721af7585} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasSubsequenceUTF8 doesn't match: passed 1, should be 2: While processing hasSubsequenceUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.652991 [ 17871 ] {5ddcfb5e-dbfc-4c09-b41c-af018074d432} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasSubstr doesn't match: passed 1, should be 2: While processing hasSubstr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasSubstr(NULL);) 2024.12.17 03:29:00.678341 [ 17871 ] {5ddcfb5e-dbfc-4c09-b41c-af018074d432} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasSubstr doesn't match: passed 1, should be 2: While processing hasSubstr(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.720978 [ 17871 ] {cacdb909-669e-43cb-9024-8fcd8f852d10} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasThreadFuzzer doesn't match: passed 1, should be 0: While processing hasThreadFuzzer(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasThreadFuzzer(NULL);) 2024.12.17 03:29:00.739649 [ 17871 ] {cacdb909-669e-43cb-9024-8fcd8f852d10} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasThreadFuzzer doesn't match: passed 1, should be 0: While processing hasThreadFuzzer(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.791069 [ 17871 ] {3a546eb6-7d81-45d2-b157-9074a79fa878} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasToken doesn't match: passed 1, should be 2: While processing hasToken(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasToken(NULL);) 2024.12.17 03:29:00.794269 [ 17871 ] {3a546eb6-7d81-45d2-b157-9074a79fa878} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasToken doesn't match: passed 1, should be 2: While processing hasToken(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.859052 [ 17871 ] {7fc39af8-d946-4d74-9d98-7c00cf9abd43} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasTokenCaseInsensitive doesn't match: passed 1, should be 2: While processing hasTokenCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasTokenCaseInsensitive(NULL);) 2024.12.17 03:29:00.864700 [ 17871 ] {7fc39af8-d946-4d74-9d98-7c00cf9abd43} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasTokenCaseInsensitive doesn't match: passed 1, should be 2: While processing hasTokenCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.903388 [ 17871 ] {4407c344-05f7-4a0a-8728-1e862d9ae570} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasTokenCaseInsensitiveOrNull doesn't match: passed 1, should be 2: While processing hasTokenCaseInsensitiveOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasTokenCaseInsensitiveOrNull(NULL);) 2024.12.17 03:29:00.907241 [ 17871 ] {4407c344-05f7-4a0a-8728-1e862d9ae570} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasTokenCaseInsensitiveOrNull doesn't match: passed 1, should be 2: While processing hasTokenCaseInsensitiveOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:00.948041 [ 17871 ] {5822776d-55e3-4b60-bc77-1a86faf84915} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasTokenOrNull doesn't match: passed 1, should be 2: While processing hasTokenOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hasTokenOrNull(NULL);) 2024.12.17 03:29:00.952300 [ 17871 ] {5822776d-55e3-4b60-bc77-1a86faf84915} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasTokenOrNull doesn't match: passed 1, should be 2: While processing hasTokenOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.038491 [ 17871 ] {bb2d0431-a46d-44c1-8757-58929d4a996a} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(unhex(substring(NULL, 3)), 'FixedString(20)'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hex2bytes(NULL);) 2024.12.17 03:29:01.041959 [ 17871 ] {bb2d0431-a46d-44c1-8757-58929d4a996a} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(unhex(substring(NULL, 3)), 'FixedString(20)'). (CANNOT_CONVERT_TYPE) 2024.12.17 03:29:01.464928 [ 17871 ] {96913d3d-5e0b-4f5a-9d2f-c1cacc42d56d} executeQuery: Code: 42. DB::Exception: Number of arguments for function hostName doesn't match: passed 1, should be 0: While processing hostName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hostName(NULL);) 2024.12.17 03:29:01.472239 [ 17871 ] {96913d3d-5e0b-4f5a-9d2f-c1cacc42d56d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hostName doesn't match: passed 1, should be 0: While processing hostName(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.559217 [ 17871 ] {b157141d-7174-4abd-a7a5-59f7f6c841ac} executeQuery: Code: 42. DB::Exception: Number of arguments for function hostName doesn't match: passed 1, should be 0: While processing hostname(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hostname(NULL);) 2024.12.17 03:29:01.564691 [ 17871 ] {b157141d-7174-4abd-a7a5-59f7f6c841ac} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hostName doesn't match: passed 1, should be 0: While processing hostname(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.599052 [ 17871 ] {87b0df50-8459-43d3-a623-ab244674ea36} executeQuery: Code: 42. DB::Exception: Number of arguments for function hypot doesn't match: passed 1, should be 2: While processing hypot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT hypot(NULL);) 2024.12.17 03:29:01.602594 [ 17871 ] {87b0df50-8459-43d3-a623-ab244674ea36} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hypot doesn't match: passed 1, should be 2: While processing hypot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.686504 [ 17871 ] {c1534887-1750-4ded-a7e1-a00910b8b679} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT if(NULL);) 2024.12.17 03:29:01.690098 [ 17871 ] {c1534887-1750-4ded-a7e1-a00910b8b679} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.720749 [ 17871 ] {519d6d91-e9a7-409d-83f9-660ce3ce1389} executeQuery: Code: 42. DB::Exception: Number of arguments for function ifNotFinite doesn't match: passed 1, should be 2: While processing ifNotFinite(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ifNotFinite(NULL);) 2024.12.17 03:29:01.723748 [ 17871 ] {519d6d91-e9a7-409d-83f9-660ce3ce1389} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ifNotFinite doesn't match: passed 1, should be 2: While processing ifNotFinite(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.754400 [ 17871 ] {65678ef0-f5da-48a9-84f9-a4375156504f} executeQuery: Code: 42. DB::Exception: Number of arguments for function ifNull doesn't match: passed 1, should be 2: While processing ifNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ifNull(NULL);) 2024.12.17 03:29:01.757924 [ 17871 ] {65678ef0-f5da-48a9-84f9-a4375156504f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ifNull doesn't match: passed 1, should be 2: While processing ifNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.844984 [ 17871 ] {21b89597-e13b-4270-9495-70031195ae36} executeQuery: Code: 42. DB::Exception: Number of arguments for function ilike doesn't match: passed 1, should be 2: While processing ilike(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ilike(NULL);) 2024.12.17 03:29:01.848103 [ 17871 ] {21b89597-e13b-4270-9495-70031195ae36} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ilike doesn't match: passed 1, should be 2: While processing ilike(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.870789 [ 17871 ] {2affa99a-09d7-48f5-ab0e-0b638867a3ae} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT in(NULL);) 2024.12.17 03:29:01.874148 [ 17871 ] {2affa99a-09d7-48f5-ab0e-0b638867a3ae} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.909179 [ 17871 ] {8ead406a-ae43-4616-9e26-540e0b9af153} executeQuery: Code: 42. DB::Exception: Number of arguments for function inIgnoreSet doesn't match: passed 1, should be 2: While processing inIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT inIgnoreSet(NULL);) 2024.12.17 03:29:01.912722 [ 17871 ] {8ead406a-ae43-4616-9e26-540e0b9af153} TCPHandler: Code: 42. DB::Exception: Number of arguments for function inIgnoreSet doesn't match: passed 1, should be 2: While processing inIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:01.989729 [ 17871 ] {b4b640c8-56b2-4f42-84d2-eb756183e07e} executeQuery: Code: 42. DB::Exception: Number of arguments for function indexOf doesn't match: passed 1, should be 2: While processing indexOf(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT indexOf(NULL);) 2024.12.17 03:29:01.992689 [ 17871 ] {b4b640c8-56b2-4f42-84d2-eb756183e07e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function indexOf doesn't match: passed 1, should be 2: While processing indexOf(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:02.133021 [ 17871 ] {f972cb43-9fcb-4c9a-8083-e03f0f854b5b} executeQuery: Code: 42. DB::Exception: Number of arguments for function initialQueryID doesn't match: passed 1, should be 0: While processing initialQueryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT initialQueryID(NULL);) 2024.12.17 03:29:02.137480 [ 17871 ] {f972cb43-9fcb-4c9a-8083-e03f0f854b5b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function initialQueryID doesn't match: passed 1, should be 0: While processing initialQueryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:02.172409 [ 17871 ] {24bb3a0f-e91f-4713-bbf4-810879f3ddd2} executeQuery: Code: 42. DB::Exception: Number of arguments for function initialQueryID doesn't match: passed 1, should be 0: While processing initialQueryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT initial_query_id(NULL);) 2024.12.17 03:29:02.176799 [ 17871 ] {24bb3a0f-e91f-4713-bbf4-810879f3ddd2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function initialQueryID doesn't match: passed 1, should be 0: While processing initialQueryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:02.210526 [ 17871 ] {094acff6-9eec-4109-9299-5463fd2a744f} executeQuery: Code: 42. DB::Exception: Number of arguments for function initializeAggregation doesn't match: passed 1, should be at least 2.: While processing initializeAggregation(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT initializeAggregation(NULL);) 2024.12.17 03:29:02.213691 [ 17871 ] {094acff6-9eec-4109-9299-5463fd2a744f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function initializeAggregation doesn't match: passed 1, should be at least 2.: While processing initializeAggregation(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:02.303452 [ 17871 ] {5746d602-894c-44d6-b61c-1ecff3a27bb6} executeQuery: Code: 42. DB::Exception: Number of arguments for function intDiv doesn't match: passed 1, should be 2: While processing intDiv(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT intDiv(NULL);) 2024.12.17 03:29:02.306905 [ 17871 ] {5746d602-894c-44d6-b61c-1ecff3a27bb6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function intDiv doesn't match: passed 1, should be 2: While processing intDiv(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:02.342788 [ 17871 ] {704d2a71-2ff1-4b0a-8446-132438af61b6} executeQuery: Code: 42. DB::Exception: Number of arguments for function intDivOrZero doesn't match: passed 1, should be 2: While processing intDivOrZero(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT intDivOrZero(NULL);) 2024.12.17 03:29:02.346668 [ 17871 ] {704d2a71-2ff1-4b0a-8446-132438af61b6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function intDivOrZero doesn't match: passed 1, should be 2: While processing intDivOrZero(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:02.812678 [ 17871 ] {933a9993-d936-4843-96a2-8b864020a249} executeQuery: Code: 42. DB::Exception: Number of arguments for function isIPAddressInRange doesn't match: passed 1, should be 2: While processing isIPAddressInRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT isIPAddressInRange(NULL);) 2024.12.17 03:29:02.815982 [ 17871 ] {933a9993-d936-4843-96a2-8b864020a249} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isIPAddressInRange doesn't match: passed 1, should be 2: While processing isIPAddressInRange(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:03.055946 [ 17871 ] {836a84ac-39be-49b1-9a87-174bc5471ca5} executeQuery: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 1, should be 2: While processing isNotDistinctFrom(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT isNotDistinctFrom(NULL);) 2024.12.17 03:29:03.059129 [ 17871 ] {836a84ac-39be-49b1-9a87-174bc5471ca5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 1, should be 2: While processing isNotDistinctFrom(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:03.326997 [ 17871 ] {56edc468-a3b5-4d8e-8e48-d9d0681f926e} executeQuery: Code: 36. DB::Exception: The argument of function isZeroOrNull must have simple numeric type, possibly Nullable: While processing isZeroOrNull(NULL). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT isZeroOrNull(NULL);) 2024.12.17 03:29:03.330765 [ 17871 ] {56edc468-a3b5-4d8e-8e48-d9d0681f926e} TCPHandler: Code: 36. DB::Exception: The argument of function isZeroOrNull must have simple numeric type, possibly Nullable: While processing isZeroOrNull(NULL). (BAD_ARGUMENTS) 2024.12.17 03:29:03.458761 [ 17871 ] {47d44fe8-6c84-4254-a8c4-3c797bb5156c} executeQuery: Code: 42. DB::Exception: Number of arguments for function 'joinGet' doesn't match: passed 1, should be greater or equal to 3: While processing joinGet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT joinGet(NULL);) 2024.12.17 03:29:03.462046 [ 17871 ] {47d44fe8-6c84-4254-a8c4-3c797bb5156c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function 'joinGet' doesn't match: passed 1, should be greater or equal to 3: While processing joinGet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:03.495459 [ 17871 ] {84a4fe1b-2d93-46cc-a14a-777e7bd36e24} executeQuery: Code: 42. DB::Exception: Number of arguments for function 'joinGetOrNull' doesn't match: passed 1, should be greater or equal to 3: While processing joinGetOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT joinGetOrNull(NULL);) 2024.12.17 03:29:03.498988 [ 17871 ] {84a4fe1b-2d93-46cc-a14a-777e7bd36e24} TCPHandler: Code: 42. DB::Exception: Number of arguments for function 'joinGetOrNull' doesn't match: passed 1, should be greater or equal to 3: While processing joinGetOrNull(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:03.530117 [ 17871 ] {d2c054e1-88f1-4658-9b4a-790521275cf6} executeQuery: Code: 42. DB::Exception: Number of arguments for function jumpConsistentHash doesn't match: passed 1, should be 2: While processing jumpConsistentHash(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT jumpConsistentHash(NULL);) 2024.12.17 03:29:03.533467 [ 17871 ] {d2c054e1-88f1-4658-9b4a-790521275cf6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function jumpConsistentHash doesn't match: passed 1, should be 2: While processing jumpConsistentHash(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:03.672941 [ 17871 ] {274a42a8-e842-41de-bfb3-fa829375f657} executeQuery: Code: 42. DB::Exception: Number of arguments for function kostikConsistentHash doesn't match: passed 1, should be 2: While processing kostikConsistentHash(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT kostikConsistentHash(NULL);) 2024.12.17 03:29:03.676442 [ 17871 ] {274a42a8-e842-41de-bfb3-fa829375f657} TCPHandler: Code: 42. DB::Exception: Number of arguments for function kostikConsistentHash doesn't match: passed 1, should be 2: While processing kostikConsistentHash(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:03.837486 [ 17871 ] {c7d556eb-926c-4251-98bd-7e4f29a75c0c} executeQuery: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT lagInFrame(NULL);) 2024.12.17 03:29:03.841484 [ 17871 ] {c7d556eb-926c-4251-98bd-7e4f29a75c0c} TCPHandler: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) 2024.12.17 03:29:04.038273 [ 17871 ] {f3ff8245-1b8d-48a7-91d7-0d4bad6d2395} executeQuery: Code: 42. DB::Exception: Number of arguments for function lcm doesn't match: passed 1, should be 2: While processing lcm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT lcm(NULL);) 2024.12.17 03:29:04.041390 [ 17871 ] {f3ff8245-1b8d-48a7-91d7-0d4bad6d2395} TCPHandler: Code: 42. DB::Exception: Number of arguments for function lcm doesn't match: passed 1, should be 2: While processing lcm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:04.093881 [ 17871 ] {36872ffc-c54c-4992-9114-2eced5a9617d} executeQuery: Code: 36. DB::Exception: The function 'leadInFrame' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT leadInFrame(NULL);) 2024.12.17 03:29:04.097628 [ 17871 ] {36872ffc-c54c-4992-9114-2eced5a9617d} TCPHandler: Code: 36. DB::Exception: The function 'leadInFrame' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) 2024.12.17 03:29:04.194193 [ 17871 ] {fb7e9a2f-bc54-4f7a-bc79-a60ecfde3da1} executeQuery: Code: 42. DB::Exception: Number of arguments for function left doesn't match: passed 1, should be 2: While processing left(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT left(NULL);) 2024.12.17 03:29:04.197281 [ 17871 ] {fb7e9a2f-bc54-4f7a-bc79-a60ecfde3da1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function left doesn't match: passed 1, should be 2: While processing left(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:04.332364 [ 17871 ] {9b6786ad-eaa4-4787-95e0-9935868560c7} executeQuery: Code: 42. DB::Exception: Number of arguments for function leftUTF8 doesn't match: passed 1, should be 2: While processing leftUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT leftUTF8(NULL);) 2024.12.17 03:29:04.335770 [ 17871 ] {9b6786ad-eaa4-4787-95e0-9935868560c7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function leftUTF8 doesn't match: passed 1, should be 2: While processing leftUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:04.370530 [ 17871 ] {6a41d479-0d7d-4116-ac7a-72c48ba0e775} executeQuery: Code: 344. DB::Exception: Natural language processing function 'lemmatize' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing lemmatize(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT lemmatize(NULL);) 2024.12.17 03:29:04.374337 [ 17871 ] {6a41d479-0d7d-4116-ac7a-72c48ba0e775} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'lemmatize' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing lemmatize(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:29:04.497917 [ 17871 ] {10fbfa25-ae07-4728-adf6-7d6a4e39fe82} executeQuery: Code: 42. DB::Exception: Number of arguments for function less doesn't match: passed 1, should be 2: While processing less(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT less(NULL);) 2024.12.17 03:29:04.501237 [ 17871 ] {10fbfa25-ae07-4728-adf6-7d6a4e39fe82} TCPHandler: Code: 42. DB::Exception: Number of arguments for function less doesn't match: passed 1, should be 2: While processing less(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:04.530710 [ 17871 ] {fa165839-8416-46d4-b7e1-5a45bffd9915} executeQuery: Code: 42. DB::Exception: Number of arguments for function lessOrEquals doesn't match: passed 1, should be 2: While processing lessOrEquals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT lessOrEquals(NULL);) 2024.12.17 03:29:04.533655 [ 17871 ] {fa165839-8416-46d4-b7e1-5a45bffd9915} TCPHandler: Code: 42. DB::Exception: Number of arguments for function lessOrEquals doesn't match: passed 1, should be 2: While processing lessOrEquals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:04.612190 [ 17871 ] {35daf191-5a29-4457-8966-4d08e2c09ba9} executeQuery: Code: 42. DB::Exception: Number of arguments for function like doesn't match: passed 1, should be 2: While processing like(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT like(NULL);) 2024.12.17 03:29:04.615310 [ 17871 ] {35daf191-5a29-4457-8966-4d08e2c09ba9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function like doesn't match: passed 1, should be 2: While processing like(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:04.922110 [ 16742 ] {d7435673-2230-43cd-a815-ee6849b7db4f} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46704) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:04.924691 [ 16742 ] {d7435673-2230-43cd-a815-ee6849b7db4f} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:29:04.954971 [ 16742 ] {7361f688-5996-4daf-9a58-50efb2b76b13} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46712) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:04.957105 [ 16742 ] {7361f688-5996-4daf-9a58-50efb2b76b13} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:29:04.995688 [ 16742 ] {d9c8e501-fac7-484b-b2b1-6447b8e218f2} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46718) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:04.997895 [ 16742 ] {d9c8e501-fac7-484b-b2b1-6447b8e218f2} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:29:05.001344 [ 17871 ] {e6f15909-f7c7-4182-b85b-7b3f1ccca49c} executeQuery: Code: 43. DB::Exception: First first argument of function lowCardinalityIndexes must be ColumnLowCardinality, but got Nullable(Nothing): While processing lowCardinalityIndices(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT lowCardinalityIndices(NULL);) 2024.12.17 03:29:05.005307 [ 17871 ] {e6f15909-f7c7-4182-b85b-7b3f1ccca49c} TCPHandler: Code: 43. DB::Exception: First first argument of function lowCardinalityIndexes must be ColumnLowCardinality, but got Nullable(Nothing): While processing lowCardinalityIndices(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:05.038260 [ 17871 ] {1382e378-9566-4ae2-84c3-4f53cf87801a} executeQuery: Code: 43. DB::Exception: First first argument of function lowCardinalityKeys must be ColumnLowCardinality, but got Nullable(Nothing): While processing lowCardinalityKeys(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT lowCardinalityKeys(NULL);) 2024.12.17 03:29:05.042303 [ 17871 ] {1382e378-9566-4ae2-84c3-4f53cf87801a} TCPHandler: Code: 43. DB::Exception: First first argument of function lowCardinalityKeys must be ColumnLowCardinality, but got Nullable(Nothing): While processing lowCardinalityKeys(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:05.535651 [ 17871 ] {3cd999e2-da76-47c5-a3ab-54ce36c997a1} executeQuery: Code: 42. DB::Exception: Function map requires even number of arguments, but 1 given: While processing map(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT map(NULL);) 2024.12.17 03:29:05.538820 [ 17871 ] {3cd999e2-da76-47c5-a3ab-54ce36c997a1} TCPHandler: Code: 42. DB::Exception: Function map requires even number of arguments, but 1 given: While processing map(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:05.760804 [ 17871 ] {bbcaff2c-237a-4111-866a-0ff4ec8ed760} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapContains doesn't match: passed 1, should be 2: While processing mapContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT mapContains(NULL);) 2024.12.17 03:29:05.763755 [ 17871 ] {bbcaff2c-237a-4111-866a-0ff4ec8ed760} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapContains doesn't match: passed 1, should be 2: While processing mapContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:05.814337 [ 16971 ] {fbd84627-0b21-4838-8997-d069c0b31dbe} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51020) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:05.814402 [ 9424 ] {aec3e215-4279-4e51-a712-6edf419206c1} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43814) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:05.817079 [ 9424 ] {aec3e215-4279-4e51-a712-6edf419206c1} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:05.817517 [ 16971 ] {fbd84627-0b21-4838-8997-d069c0b31dbe} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:05.824847 [ 16742 ] {02376042-ffc6-4a81-809b-ecdfb07bcb0b} executeQuery: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46720) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(number, 0) FROM remote('127.0.0.{2,3}', system.numbers)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:29:05.833300 [ 16742 ] {02376042-ffc6-4a81-809b-ecdfb07bcb0b} DynamicQueryHandler: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:29:06.001683 [ 17871 ] {3dec363d-1d75-4a4f-ac85-e201ef3b83d0} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 1, should be 2: While processing mapFromArrays(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT mapFromArrays(NULL);) 2024.12.17 03:29:06.004821 [ 17871 ] {3dec363d-1d75-4a4f-ac85-e201ef3b83d0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 1, should be 2: While processing mapFromArrays(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:06.242362 [ 8594 ] {6d78b5a3-7500-451f-80cd-69b108df1387} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43206) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:06.245666 [ 8594 ] {6d78b5a3-7500-451f-80cd-69b108df1387} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:06.402042 [ 17871 ] {6b5e7b56-d6ef-43b3-a833-920ba4fa9d3e} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 1, should be 2: While processing mapUpdate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT mapUpdate(NULL);) 2024.12.17 03:29:06.405107 [ 17871 ] {6b5e7b56-d6ef-43b3-a833-920ba4fa9d3e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 1, should be 2: While processing mapUpdate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:06.482348 [ 17871 ] {125ae516-8a64-4734-958a-4923cc91d7cb} executeQuery: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT match(NULL);) 2024.12.17 03:29:06.485820 [ 17871 ] {125ae516-8a64-4734-958a-4923cc91d7cb} TCPHandler: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:06.626896 [ 17871 ] {682c36e5-7246-4c16-98b1-a2a18b69623e} executeQuery: Code: 42. DB::Exception: Number of arguments for function max2 doesn't match: passed 1, should be 2: While processing max2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT max2(NULL);) 2024.12.17 03:29:06.630902 [ 17871 ] {682c36e5-7246-4c16-98b1-a2a18b69623e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function max2 doesn't match: passed 1, should be 2: While processing max2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:06.877255 [ 8594 ] {b22ead11-19a7-45b3-9ead-3bd6df6129c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43216) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:06.881612 [ 8594 ] {b22ead11-19a7-45b3-9ead-3bd6df6129c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:07.662791 [ 16971 ] {83d2941e-b180-4200-898b-279b1a2ef61b} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51028) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:07.666392 [ 16971 ] {83d2941e-b180-4200-898b-279b1a2ef61b} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:07.672669 [ 7430 ] {11eb5074-f385-4cfd-a64b-7af47367e0d3} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43826) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:07.676678 [ 7430 ] {11eb5074-f385-4cfd-a64b-7af47367e0d3} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 2024.12.17 03:29:07.680563 [ 9424 ] {4aca644c-be6c-4387-b792-f2bf16fe0168} executeQuery: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43232) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(number, 0) FROM remote('127.0.0.{2,3}', system.numbers)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:29:07.684820 [ 7430 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:43826). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:29:07.687922 [ 9424 ] {4aca644c-be6c-4387-b792-f2bf16fe0168} TCPHandler: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x00000000141cbf90 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000141cbeae in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000147c4970 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000147bd31e in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000001473a5b8 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000014732062 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472e454 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001472a965 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374ef0a5 in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eba0223 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0cda10 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b7665a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b54874 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:29:07.848724 [ 17871 ] {7b13be88-c3c9-4d14-9068-babb1c964534} executeQuery: Code: 42. DB::Exception: Number of arguments for function min2 doesn't match: passed 1, should be 2: While processing min2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT min2(NULL);) 2024.12.17 03:29:07.851641 [ 17871 ] {7b13be88-c3c9-4d14-9068-babb1c964534} TCPHandler: Code: 42. DB::Exception: Number of arguments for function min2 doesn't match: passed 1, should be 2: While processing min2(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:07.937163 [ 17871 ] {827c4f37-8338-4ad3-bf58-d1b132f8bf64} executeQuery: Code: 42. DB::Exception: Number of arguments for function minSampleSizeContinous doesn't match: passed 1, should be 5: While processing minSampleSizeContinous(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT minSampleSizeContinous(NULL);) 2024.12.17 03:29:07.940202 [ 17871 ] {827c4f37-8338-4ad3-bf58-d1b132f8bf64} TCPHandler: Code: 42. DB::Exception: Number of arguments for function minSampleSizeContinous doesn't match: passed 1, should be 5: While processing minSampleSizeContinous(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:07.972052 [ 17871 ] {05c1a4b1-7ef6-4ee0-a1d2-43abac242e99} executeQuery: Code: 42. DB::Exception: Number of arguments for function minSampleSizeConversion doesn't match: passed 1, should be 4: While processing minSampleSizeConversion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT minSampleSizeConversion(NULL);) 2024.12.17 03:29:07.975589 [ 17871 ] {05c1a4b1-7ef6-4ee0-a1d2-43abac242e99} TCPHandler: Code: 42. DB::Exception: Number of arguments for function minSampleSizeConversion doesn't match: passed 1, should be 4: While processing minSampleSizeConversion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.006985 [ 17871 ] {f15aa3e6-bac8-42a1-9413-482beaec7e09} executeQuery: Code: 42. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: While processing minus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT minus(NULL);) 2024.12.17 03:29:08.010817 [ 17871 ] {f15aa3e6-bac8-42a1-9413-482beaec7e09} TCPHandler: Code: 42. DB::Exception: Number of arguments for function minus doesn't match: passed 1, should be 2: While processing minus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.042574 [ 17871 ] {ea884ef7-412f-44ea-9c15-4ab6cde294dd} executeQuery: Code: 42. DB::Exception: Number of arguments for function modulo doesn't match: passed 1, should be 2: While processing modulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT mod(NULL);) 2024.12.17 03:29:08.046202 [ 17871 ] {ea884ef7-412f-44ea-9c15-4ab6cde294dd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function modulo doesn't match: passed 1, should be 2: While processing modulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.072398 [ 17871 ] {5ee753c8-07a6-4d04-b579-aed0ff8bb5d2} executeQuery: Code: 42. DB::Exception: Number of arguments for function modulo doesn't match: passed 1, should be 2: While processing modulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT modulo(NULL);) 2024.12.17 03:29:08.076198 [ 17871 ] {5ee753c8-07a6-4d04-b579-aed0ff8bb5d2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function modulo doesn't match: passed 1, should be 2: While processing modulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.103813 [ 17871 ] {d63c5fba-3a9d-46e2-a263-dd8d1c6fc2e6} executeQuery: Code: 42. DB::Exception: Number of arguments for function moduloLegacy doesn't match: passed 1, should be 2: While processing moduloLegacy(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT moduloLegacy(NULL);) 2024.12.17 03:29:08.107003 [ 17871 ] {d63c5fba-3a9d-46e2-a263-dd8d1c6fc2e6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function moduloLegacy doesn't match: passed 1, should be 2: While processing moduloLegacy(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.133809 [ 17871 ] {ccb73593-0f05-47a5-b0ac-178ede5f0c94} executeQuery: Code: 42. DB::Exception: Number of arguments for function moduloOrZero doesn't match: passed 1, should be 2: While processing moduloOrZero(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT moduloOrZero(NULL);) 2024.12.17 03:29:08.239484 [ 17871 ] {ccb73593-0f05-47a5-b0ac-178ede5f0c94} TCPHandler: Code: 42. DB::Exception: Number of arguments for function moduloOrZero doesn't match: passed 1, should be 2: While processing moduloOrZero(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.411922 [ 17871 ] {3ac4675a-86d9-4302-bd7c-adda643badea} executeQuery: Code: 42. DB::Exception: Number of arguments for function mortonDecode doesn't match: passed 1, should be 2: While processing mortonDecode(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT mortonDecode(NULL);) 2024.12.17 03:29:08.422602 [ 17871 ] {3ac4675a-86d9-4302-bd7c-adda643badea} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mortonDecode doesn't match: passed 1, should be 2: While processing mortonDecode(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.553756 [ 17871 ] {86e9fef8-471c-4de1-9cd9-6375711a0bac} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiFuzzyMatchAllIndices doesn't match: passed 1, should be 3: While processing multiFuzzyMatchAllIndices(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiFuzzyMatchAllIndices(NULL);) 2024.12.17 03:29:08.560561 [ 17871 ] {86e9fef8-471c-4de1-9cd9-6375711a0bac} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiFuzzyMatchAllIndices doesn't match: passed 1, should be 3: While processing multiFuzzyMatchAllIndices(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.642762 [ 17871 ] {63ce2e8c-8461-4166-a5af-19e0da36acbb} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiFuzzyMatchAny doesn't match: passed 1, should be 3: While processing multiFuzzyMatchAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiFuzzyMatchAny(NULL);) 2024.12.17 03:29:08.650354 [ 17871 ] {63ce2e8c-8461-4166-a5af-19e0da36acbb} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiFuzzyMatchAny doesn't match: passed 1, should be 3: While processing multiFuzzyMatchAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.759196 [ 17871 ] {8603f978-1293-4879-ab3e-d0ad64373e35} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiFuzzyMatchAnyIndex doesn't match: passed 1, should be 3: While processing multiFuzzyMatchAnyIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiFuzzyMatchAnyIndex(NULL);) 2024.12.17 03:29:08.767699 [ 17871 ] {8603f978-1293-4879-ab3e-d0ad64373e35} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiFuzzyMatchAnyIndex doesn't match: passed 1, should be 3: While processing multiFuzzyMatchAnyIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.867582 [ 17871 ] {172c6d3d-6bad-4a89-ab3c-39fd44ce1b14} executeQuery: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing multiIf(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiIf(NULL);) 2024.12.17 03:29:08.877694 [ 17871 ] {172c6d3d-6bad-4a89-ab3c-39fd44ce1b14} TCPHandler: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing multiIf(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:08.976127 [ 17871 ] {e2bce9fc-0842-40f2-9f91-c53af2f0f417} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiMatchAllIndices doesn't match: passed 1, should be 2: While processing multiMatchAllIndices(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiMatchAllIndices(NULL);) 2024.12.17 03:29:08.991598 [ 17871 ] {e2bce9fc-0842-40f2-9f91-c53af2f0f417} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiMatchAllIndices doesn't match: passed 1, should be 2: While processing multiMatchAllIndices(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.154904 [ 17871 ] {eb997e98-5459-4b2f-9074-b88030759066} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiMatchAny doesn't match: passed 1, should be 2: While processing multiMatchAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiMatchAny(NULL);) 2024.12.17 03:29:09.163047 [ 17871 ] {eb997e98-5459-4b2f-9074-b88030759066} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiMatchAny doesn't match: passed 1, should be 2: While processing multiMatchAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.336722 [ 17871 ] {cca73a15-127d-4ffe-9cf4-2a567f36261b} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiMatchAnyIndex doesn't match: passed 1, should be 2: While processing multiMatchAnyIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiMatchAnyIndex(NULL);) 2024.12.17 03:29:09.343389 [ 17871 ] {cca73a15-127d-4ffe-9cf4-2a567f36261b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiMatchAnyIndex doesn't match: passed 1, should be 2: While processing multiMatchAnyIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.442314 [ 17871 ] {96789f90-d7b8-4930-a3ee-edd83afb95c3} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositions doesn't match: passed 1, should be 2: While processing multiSearchAllPositions(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAllPositions(NULL);) 2024.12.17 03:29:09.449946 [ 17871 ] {96789f90-d7b8-4930-a3ee-edd83afb95c3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositions doesn't match: passed 1, should be 2: While processing multiSearchAllPositions(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.595481 [ 17871 ] {0495d474-7609-43c2-ba65-711fff6e5059} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAllPositionsCaseInsensitive(NULL);) 2024.12.17 03:29:09.605035 [ 17871 ] {0495d474-7609-43c2-ba65-711fff6e5059} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.689818 [ 17871 ] {bc26edab-51e5-4b52-b61a-cdd8562b1455} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAllPositionsCaseInsensitiveUTF8(NULL);) 2024.12.17 03:29:09.704737 [ 17871 ] {bc26edab-51e5-4b52-b61a-cdd8562b1455} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.822379 [ 17871 ] {6351d0c4-bb25-4696-86b6-3f0eb3d2fec1} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAllPositionsUTF8(NULL);) 2024.12.17 03:29:09.830828 [ 17871 ] {6351d0c4-bb25-4696-86b6-3f0eb3d2fec1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAllPositionsUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.918782 [ 17871 ] {44fe471a-3b30-43a6-935f-a979ad1ed6a2} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAny doesn't match: passed 1, should be 2: While processing multiSearchAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAny(NULL);) 2024.12.17 03:29:09.925076 [ 17871 ] {44fe471a-3b30-43a6-935f-a979ad1ed6a2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAny doesn't match: passed 1, should be 2: While processing multiSearchAny(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:09.982954 [ 17871 ] {bbc55ffb-0b7c-4277-ab0f-d68c51c8a294} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAnyCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchAnyCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAnyCaseInsensitive(NULL);) 2024.12.17 03:29:09.990530 [ 17871 ] {bbc55ffb-0b7c-4277-ab0f-d68c51c8a294} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAnyCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchAnyCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.070781 [ 17871 ] {6d0b65f3-8c4b-4e1b-b66f-f43e1c660403} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAnyCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAnyCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAnyCaseInsensitiveUTF8(NULL);) 2024.12.17 03:29:10.095921 [ 17871 ] {6d0b65f3-8c4b-4e1b-b66f-f43e1c660403} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAnyCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAnyCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.203561 [ 17871 ] {d8c52df6-6395-46f4-b31f-685009e8d36e} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAnyUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAnyUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchAnyUTF8(NULL);) 2024.12.17 03:29:10.215784 [ 17871 ] {d8c52df6-6395-46f4-b31f-685009e8d36e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAnyUTF8 doesn't match: passed 1, should be 2: While processing multiSearchAnyUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.273081 [ 17871 ] {43f20d08-cf17-4bf1-89b3-0eea1f224a7a} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndex doesn't match: passed 1, should be 2: While processing multiSearchFirstIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstIndex(NULL);) 2024.12.17 03:29:10.285818 [ 17871 ] {43f20d08-cf17-4bf1-89b3-0eea1f224a7a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndex doesn't match: passed 1, should be 2: While processing multiSearchFirstIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.385156 [ 17871 ] {8b9ef574-9d05-4bc9-aa47-175495887536} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndexCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchFirstIndexCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstIndexCaseInsensitive(NULL);) 2024.12.17 03:29:10.389459 [ 17871 ] {8b9ef574-9d05-4bc9-aa47-175495887536} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndexCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchFirstIndexCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.474962 [ 17871 ] {839e9df2-b18d-43cc-a94c-ce7e50f22947} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndexCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstIndexCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstIndexCaseInsensitiveUTF8(NULL);) 2024.12.17 03:29:10.482527 [ 17871 ] {839e9df2-b18d-43cc-a94c-ce7e50f22947} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndexCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstIndexCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.572140 [ 17871 ] {fff7992a-f9fc-45eb-a060-25900488c549} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndexUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstIndexUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstIndexUTF8(NULL);) 2024.12.17 03:29:10.595196 [ 17871 ] {fff7992a-f9fc-45eb-a060-25900488c549} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstIndexUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstIndexUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.656442 [ 17871 ] {e3f654be-7117-4580-a596-5e55ffd301ea} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPosition doesn't match: passed 1, should be 2: While processing multiSearchFirstPosition(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstPosition(NULL);) 2024.12.17 03:29:10.667439 [ 17871 ] {e3f654be-7117-4580-a596-5e55ffd301ea} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPosition doesn't match: passed 1, should be 2: While processing multiSearchFirstPosition(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.763889 [ 17871 ] {c42208cd-a01f-4d4c-9754-1d5b88f802eb} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPositionCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchFirstPositionCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstPositionCaseInsensitive(NULL);) 2024.12.17 03:29:10.780697 [ 17871 ] {c42208cd-a01f-4d4c-9754-1d5b88f802eb} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPositionCaseInsensitive doesn't match: passed 1, should be 2: While processing multiSearchFirstPositionCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:10.885365 [ 17871 ] {ca051a49-7499-4f36-afe3-c0f3ca652d98} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPositionCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstPositionCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstPositionCaseInsensitiveUTF8(NULL);) 2024.12.17 03:29:10.891887 [ 17871 ] {ca051a49-7499-4f36-afe3-c0f3ca652d98} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPositionCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstPositionCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.030168 [ 17871 ] {d8ef012a-8dd0-49ec-a570-937af5351bda} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPositionUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstPositionUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiSearchFirstPositionUTF8(NULL);) 2024.12.17 03:29:11.044401 [ 17871 ] {d8ef012a-8dd0-49ec-a570-937af5351bda} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchFirstPositionUTF8 doesn't match: passed 1, should be 2: While processing multiSearchFirstPositionUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.112900 [ 17871 ] {a385efa7-a162-4cc0-bedb-7e5932d130cc} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiply doesn't match: passed 1, should be 2: While processing multiply(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT multiply(NULL);) 2024.12.17 03:29:11.127120 [ 17871 ] {a385efa7-a162-4cc0-bedb-7e5932d130cc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiply doesn't match: passed 1, should be 2: While processing multiply(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.571200 [ 17871 ] {49c39540-4ed2-46e6-9889-78d556f006f5} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT neighbor(NULL);) 2024.12.17 03:29:11.576594 [ 17871 ] {49c39540-4ed2-46e6-9889-78d556f006f5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.612632 [ 17871 ] {85280db5-ca3f-481e-883a-1cfa19bed645} executeQuery: Code: 42. DB::Exception: Number of arguments for function nested doesn't match: the function requires more arguments: While processing nested(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT nested(NULL);) 2024.12.17 03:29:11.617334 [ 17871 ] {85280db5-ca3f-481e-883a-1cfa19bed645} TCPHandler: Code: 42. DB::Exception: Number of arguments for function nested doesn't match: the function requires more arguments: While processing nested(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.712064 [ 17871 ] {b0edbc52-fda0-41cc-a097-a93faff4299f} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramDistance doesn't match: passed 1, should be 2: While processing ngramDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramDistance(NULL);) 2024.12.17 03:29:11.716936 [ 17871 ] {b0edbc52-fda0-41cc-a097-a93faff4299f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramDistance doesn't match: passed 1, should be 2: While processing ngramDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.753456 [ 17871 ] {6f42a215-4d0e-4adb-b6cc-42151a3e7a54} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramDistanceCaseInsensitive doesn't match: passed 1, should be 2: While processing ngramDistanceCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramDistanceCaseInsensitive(NULL);) 2024.12.17 03:29:11.758014 [ 17871 ] {6f42a215-4d0e-4adb-b6cc-42151a3e7a54} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramDistanceCaseInsensitive doesn't match: passed 1, should be 2: While processing ngramDistanceCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.790204 [ 17871 ] {24eda158-2a1c-4efd-840e-7877bdfd5c08} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramDistanceCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing ngramDistanceCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramDistanceCaseInsensitiveUTF8(NULL);) 2024.12.17 03:29:11.794167 [ 17871 ] {24eda158-2a1c-4efd-840e-7877bdfd5c08} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramDistanceCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing ngramDistanceCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:11.823468 [ 17871 ] {43fa2874-d92e-4cf1-8be5-d19b690c469a} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramDistanceUTF8 doesn't match: passed 1, should be 2: While processing ngramDistanceUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramDistanceUTF8(NULL);) 2024.12.17 03:29:11.826428 [ 17871 ] {43fa2874-d92e-4cf1-8be5-d19b690c469a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramDistanceUTF8 doesn't match: passed 1, should be 2: While processing ngramDistanceUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:12.278419 [ 17871 ] {17eaaf3e-7e23-445e-a854-8c1fefe02a1d} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramSearch doesn't match: passed 1, should be 2: While processing ngramSearch(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramSearch(NULL);) 2024.12.17 03:29:12.281719 [ 17871 ] {17eaaf3e-7e23-445e-a854-8c1fefe02a1d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramSearch doesn't match: passed 1, should be 2: While processing ngramSearch(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:12.313221 [ 17871 ] {f9be347d-2170-452d-802c-3e44fa9c1e87} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramSearchCaseInsensitive doesn't match: passed 1, should be 2: While processing ngramSearchCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramSearchCaseInsensitive(NULL);) 2024.12.17 03:29:12.316763 [ 17871 ] {f9be347d-2170-452d-802c-3e44fa9c1e87} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramSearchCaseInsensitive doesn't match: passed 1, should be 2: While processing ngramSearchCaseInsensitive(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:12.353345 [ 17871 ] {45157689-83ed-469a-a977-04a5cdbb055f} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramSearchCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing ngramSearchCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramSearchCaseInsensitiveUTF8(NULL);) 2024.12.17 03:29:12.357406 [ 17871 ] {45157689-83ed-469a-a977-04a5cdbb055f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramSearchCaseInsensitiveUTF8 doesn't match: passed 1, should be 2: While processing ngramSearchCaseInsensitiveUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:12.389360 [ 17871 ] {41443678-ca7b-41de-aa56-1b5ffec3c550} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramSearchUTF8 doesn't match: passed 1, should be 2: While processing ngramSearchUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngramSearchUTF8(NULL);) 2024.12.17 03:29:12.393011 [ 17871 ] {41443678-ca7b-41de-aa56-1b5ffec3c550} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramSearchUTF8 doesn't match: passed 1, should be 2: While processing ngramSearchUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:12.641400 [ 17871 ] {1c71a71e-1522-4dae-92b0-ae668654f7d4} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngrams doesn't match: passed 1, should be 2: While processing ngrams(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ngrams(NULL);) 2024.12.17 03:29:12.645015 [ 17871 ] {1c71a71e-1522-4dae-92b0-ae668654f7d4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngrams doesn't match: passed 1, should be 2: While processing ngrams(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:12.676593 [ 17871 ] {54e941f1-e0d1-4db4-b5b8-ad4866651f1b} executeQuery: Code: 36. DB::Exception: Function nonNegativeDerivative takes 2 or 3 arguments. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT nonNegativeDerivative(NULL);) 2024.12.17 03:29:12.679743 [ 17871 ] {54e941f1-e0d1-4db4-b5b8-ad4866651f1b} TCPHandler: Code: 36. DB::Exception: Function nonNegativeDerivative takes 2 or 3 arguments. (BAD_ARGUMENTS) 2024.12.17 03:29:12.878565 [ 7430 ] {40f08595-6d61-44c9-8a3b-55f9e4c268b2} executeQuery: Code: 48. DB::Exception: Unsupported compression method: While executing ParallelFormattingOutputFormat. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46880) (comment: 00302_http_compression.sh) (in query: SELECT number FROM system.numbers LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000e65bf57 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:0: DB::wrapWriteBufferWithCompressionMethod(std::unique_ptr>, DB::CompressionMethod, int, unsigned long, char*, unsigned long) @ 0x000000002b1d1577 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:110: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000003e11e678 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/WriteBuffer.h:60: DB::IOutputFormat::flush() @ 0x000000003e24edc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:0: DB::ParallelFormattingOutputFormat::collectorThreadFunction(std::shared_ptr const&) @ 0x000000003e745c4e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ThreadPool.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'()::operator()() @ 0x000000003e156312 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e15615f in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:29:12.886287 [ 7430 ] {40f08595-6d61-44c9-8a3b-55f9e4c268b2} DynamicQueryHandler: Code: 48. DB::Exception: Unsupported compression method: While executing ParallelFormattingOutputFormat. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000e65bf57 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:0: DB::wrapWriteBufferWithCompressionMethod(std::unique_ptr>, DB::CompressionMethod, int, unsigned long, char*, unsigned long) @ 0x000000002b1d1577 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:110: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000003e11e678 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/WriteBuffer.h:60: DB::IOutputFormat::flush() @ 0x000000003e24edc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:0: DB::ParallelFormattingOutputFormat::collectorThreadFunction(std::shared_ptr const&) @ 0x000000003e745c4e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ThreadPool.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'()::operator()() @ 0x000000003e156312 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e15615f in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:29:12.927277 [ 17871 ] {eb19100b-8d94-4437-a224-9ce2a9ca1baa} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpNorm doesn't match: passed 1, should be 2: While processing LpNorm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT normLp(NULL);) 2024.12.17 03:29:12.931361 [ 17871 ] {eb19100b-8d94-4437-a224-9ce2a9ca1baa} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpNorm doesn't match: passed 1, should be 2: While processing LpNorm(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.116669 [ 17871 ] {943e90b4-9306-4ac1-a0c0-4af117f3c210} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpNormalize doesn't match: passed 1, should be 2: While processing LpNormalize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT normalizeLp(NULL);) 2024.12.17 03:29:13.120860 [ 17871 ] {943e90b4-9306-4ac1-a0c0-4af117f3c210} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpNormalize doesn't match: passed 1, should be 2: While processing LpNormalize(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.624705 [ 17871 ] {8fe9f991-6203-4a6e-acce-8dacdfa4ffa2} executeQuery: Code: 42. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing notEquals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT notEquals(NULL);) 2024.12.17 03:29:13.628418 [ 17871 ] {8fe9f991-6203-4a6e-acce-8dacdfa4ffa2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function notEquals doesn't match: passed 1, should be 2: While processing notEquals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.655186 [ 17871 ] {02f84238-30aa-4b96-95eb-4d54c5cf8781} executeQuery: Code: 42. DB::Exception: Number of arguments for function notILike doesn't match: passed 1, should be 2: While processing notILike(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT notILike(NULL);) 2024.12.17 03:29:13.658476 [ 17871 ] {02f84238-30aa-4b96-95eb-4d54c5cf8781} TCPHandler: Code: 42. DB::Exception: Number of arguments for function notILike doesn't match: passed 1, should be 2: While processing notILike(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.683422 [ 17871 ] {304c1e7b-7138-448f-9be6-d3ca12348d7a} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT notIn(NULL);) 2024.12.17 03:29:13.686662 [ 17871 ] {304c1e7b-7138-448f-9be6-d3ca12348d7a} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.719593 [ 17871 ] {e90e1191-f2d1-4fdc-be3b-9af8625623c6} executeQuery: Code: 42. DB::Exception: Number of arguments for function notInIgnoreSet doesn't match: passed 1, should be 2: While processing notInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT notInIgnoreSet(NULL);) 2024.12.17 03:29:13.723072 [ 17871 ] {e90e1191-f2d1-4fdc-be3b-9af8625623c6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function notInIgnoreSet doesn't match: passed 1, should be 2: While processing notInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.751401 [ 17871 ] {6a682766-c3c3-4314-baff-224f8e4bc0f1} executeQuery: Code: 42. DB::Exception: Number of arguments for function notLike doesn't match: passed 1, should be 2: While processing notLike(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT notLike(NULL);) 2024.12.17 03:29:13.754550 [ 17871 ] {6a682766-c3c3-4314-baff-224f8e4bc0f1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function notLike doesn't match: passed 1, should be 2: While processing notLike(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.774996 [ 17871 ] {b4552ad3-2409-473b-848b-357f198d7139} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT notNullIn(NULL);) 2024.12.17 03:29:13.778605 [ 17871 ] {b4552ad3-2409-473b-848b-357f198d7139} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.808914 [ 17871 ] {2c9c67c5-6772-4202-9d56-6b8f39765736} executeQuery: Code: 42. DB::Exception: Number of arguments for function notNullInIgnoreSet doesn't match: passed 1, should be 2: While processing notNullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT notNullInIgnoreSet(NULL);) 2024.12.17 03:29:13.812084 [ 17871 ] {2c9c67c5-6772-4202-9d56-6b8f39765736} TCPHandler: Code: 42. DB::Exception: Number of arguments for function notNullInIgnoreSet doesn't match: passed 1, should be 2: While processing notNullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:13.896631 [ 17871 ] {cae23f2b-8eec-4702-9ff3-2cd7b7ef2b38} executeQuery: Code: 43. DB::Exception: Arguments of function now should be String or FixedString: While processing now(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT now(NULL);) 2024.12.17 03:29:13.900170 [ 17871 ] {cae23f2b-8eec-4702-9ff3-2cd7b7ef2b38} TCPHandler: Code: 43. DB::Exception: Arguments of function now should be String or FixedString: While processing now(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:14.028782 [ 17871 ] {979ccb44-c6ae-4d83-90ed-f70ca05953c0} executeQuery: Code: 36. DB::Exception: Function nth_value takes exactly two arguments. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT nth_value(NULL);) 2024.12.17 03:29:14.032266 [ 17871 ] {979ccb44-c6ae-4d83-90ed-f70ca05953c0} TCPHandler: Code: 36. DB::Exception: Function nth_value takes exactly two arguments. (BAD_ARGUMENTS) 2024.12.17 03:29:14.061135 [ 17871 ] {6f7908f1-d17e-4f1e-b6d2-3c314b81920f} executeQuery: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Nullable(Nothing). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT ntile(NULL);) 2024.12.17 03:29:14.064612 [ 17871 ] {6f7908f1-d17e-4f1e-b6d2-3c314b81920f} TCPHandler: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Nullable(Nothing). (BAD_ARGUMENTS) 2024.12.17 03:29:14.092550 [ 17871 ] {9895cc85-4d72-4954-856d-ed7039a14845} executeQuery: Code: 42. DB::Exception: Number of arguments for function nullIf doesn't match: passed 1, should be 2: While processing nullIf(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT nullIf(NULL);) 2024.12.17 03:29:14.095586 [ 17871 ] {9895cc85-4d72-4954-856d-ed7039a14845} TCPHandler: Code: 42. DB::Exception: Number of arguments for function nullIf doesn't match: passed 1, should be 2: While processing nullIf(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:14.115676 [ 17871 ] {141ef7b5-c2cd-46bc-a121-8b2bc754889c} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT nullIn(NULL);) 2024.12.17 03:29:14.119392 [ 17871 ] {141ef7b5-c2cd-46bc-a121-8b2bc754889c} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:14.148663 [ 17871 ] {73e4f194-5dd2-4a88-8764-0eca1ecaf00b} executeQuery: Code: 42. DB::Exception: Number of arguments for function nullInIgnoreSet doesn't match: passed 1, should be 2: While processing nullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT nullInIgnoreSet(NULL);) 2024.12.17 03:29:14.152139 [ 17871 ] {73e4f194-5dd2-4a88-8764-0eca1ecaf00b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function nullInIgnoreSet doesn't match: passed 1, should be 2: While processing nullInIgnoreSet(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:17.257103 [ 17871 ] {356556ef-e9fa-471b-aa8a-b1e225b85f74} executeQuery: Code: 42. DB::Exception: Number of arguments for function pi doesn't match: passed 1, should be 0: While processing pi(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT pi(NULL);) 2024.12.17 03:29:17.285309 [ 17871 ] {356556ef-e9fa-471b-aa8a-b1e225b85f74} TCPHandler: Code: 42. DB::Exception: Number of arguments for function pi doesn't match: passed 1, should be 0: While processing pi(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:17.533347 [ 17871 ] {ef5ab629-143e-4fea-8d9d-c52270ff4184} executeQuery: Code: 42. DB::Exception: Number of arguments for function plus doesn't match: passed 1, should be 2: While processing plus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT plus(NULL);) 2024.12.17 03:29:17.550013 [ 17871 ] {ef5ab629-143e-4fea-8d9d-c52270ff4184} TCPHandler: Code: 42. DB::Exception: Number of arguments for function plus doesn't match: passed 1, should be 2: While processing plus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:17.679072 [ 17871 ] {8c8b7d1f-ef6c-45c0-9d6f-ec188bdcc3d8} executeQuery: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 1, should be 2: While processing positiveModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT pmod(NULL);) 2024.12.17 03:29:17.691574 [ 17871 ] {8c8b7d1f-ef6c-45c0-9d6f-ec188bdcc3d8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 1, should be 2: While processing positiveModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:18.186805 [ 17871 ] {5a67915e-967b-4919-b656-5a50d17c3384} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsDistanceCartesian doesn't match: passed 1, should be 2: While processing polygonsDistanceCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsDistanceCartesian(NULL);) 2024.12.17 03:29:18.197094 [ 17871 ] {5a67915e-967b-4919-b656-5a50d17c3384} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsDistanceCartesian doesn't match: passed 1, should be 2: While processing polygonsDistanceCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:18.316313 [ 17871 ] {d5b856ed-624b-4a99-bc14-8f7fd8629482} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsDistanceSpherical doesn't match: passed 1, should be 2: While processing polygonsDistanceSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsDistanceSpherical(NULL);) 2024.12.17 03:29:18.484340 [ 17871 ] {d5b856ed-624b-4a99-bc14-8f7fd8629482} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsDistanceSpherical doesn't match: passed 1, should be 2: While processing polygonsDistanceSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:18.616213 [ 17871 ] {3b8681b6-9c4f-4024-bac9-ff7ea48324a0} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsEqualsCartesian doesn't match: passed 1, should be 2: While processing polygonsEqualsCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsEqualsCartesian(NULL);) 2024.12.17 03:29:18.698124 [ 17871 ] {3b8681b6-9c4f-4024-bac9-ff7ea48324a0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsEqualsCartesian doesn't match: passed 1, should be 2: While processing polygonsEqualsCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:18.872236 [ 17871 ] {90942c03-3254-4554-9116-ce24870a6753} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsIntersectionCartesian doesn't match: passed 1, should be 2: While processing polygonsIntersectionCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsIntersectionCartesian(NULL);) 2024.12.17 03:29:18.882832 [ 17871 ] {90942c03-3254-4554-9116-ce24870a6753} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsIntersectionCartesian doesn't match: passed 1, should be 2: While processing polygonsIntersectionCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:18.999196 [ 17871 ] {1c5f6c31-4ee2-4504-ba63-b1d6ff62f1d0} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsIntersectionSpherical doesn't match: passed 1, should be 2: While processing polygonsIntersectionSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsIntersectionSpherical(NULL);) 2024.12.17 03:29:19.019442 [ 17871 ] {1c5f6c31-4ee2-4504-ba63-b1d6ff62f1d0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsIntersectionSpherical doesn't match: passed 1, should be 2: While processing polygonsIntersectionSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:19.140595 [ 17871 ] {783fca3a-1d54-4f09-92e2-ec614818093d} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsSymDifferenceCartesian doesn't match: passed 1, should be 2: While processing polygonsSymDifferenceCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsSymDifferenceCartesian(NULL);) 2024.12.17 03:29:19.152427 [ 17871 ] {783fca3a-1d54-4f09-92e2-ec614818093d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsSymDifferenceCartesian doesn't match: passed 1, should be 2: While processing polygonsSymDifferenceCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:19.297710 [ 17871 ] {dcbbe60b-f3f7-4b16-a887-db253e3e825a} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsSymDifferenceSpherical doesn't match: passed 1, should be 2: While processing polygonsSymDifferenceSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsSymDifferenceSpherical(NULL);) 2024.12.17 03:29:19.312044 [ 17871 ] {dcbbe60b-f3f7-4b16-a887-db253e3e825a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsSymDifferenceSpherical doesn't match: passed 1, should be 2: While processing polygonsSymDifferenceSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:19.437508 [ 17871 ] {ae01c804-4fda-4190-9c09-38c3e8318be1} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsUnionCartesian doesn't match: passed 1, should be 2: While processing polygonsUnionCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsUnionCartesian(NULL);) 2024.12.17 03:29:19.448526 [ 17871 ] {ae01c804-4fda-4190-9c09-38c3e8318be1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsUnionCartesian doesn't match: passed 1, should be 2: While processing polygonsUnionCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:19.583557 [ 17871 ] {523a14c5-c4b3-496c-af2e-e0d113eeed66} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsUnionSpherical doesn't match: passed 1, should be 2: While processing polygonsUnionSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsUnionSpherical(NULL);) 2024.12.17 03:29:19.597162 [ 17871 ] {523a14c5-c4b3-496c-af2e-e0d113eeed66} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsUnionSpherical doesn't match: passed 1, should be 2: While processing polygonsUnionSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:19.705740 [ 17871 ] {2dea3acc-7aee-4670-a1f9-05adc9365930} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsWithinCartesian doesn't match: passed 1, should be 2: While processing polygonsWithinCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsWithinCartesian(NULL);) 2024.12.17 03:29:19.725218 [ 17871 ] {2dea3acc-7aee-4670-a1f9-05adc9365930} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsWithinCartesian doesn't match: passed 1, should be 2: While processing polygonsWithinCartesian(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:19.844151 [ 17871 ] {921e6019-a1e8-4d37-8bcb-862e64102dc6} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsWithinSpherical doesn't match: passed 1, should be 2: While processing polygonsWithinSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT polygonsWithinSpherical(NULL);) 2024.12.17 03:29:19.854316 [ 17871 ] {921e6019-a1e8-4d37-8bcb-862e64102dc6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsWithinSpherical doesn't match: passed 1, should be 2: While processing polygonsWithinSpherical(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:20.320568 [ 17871 ] {594597a2-01ed-424c-92fd-369bb65d7813} executeQuery: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 1, should be 2: While processing positiveModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT positiveModulo(NULL);) 2024.12.17 03:29:20.333211 [ 17871 ] {594597a2-01ed-424c-92fd-369bb65d7813} TCPHandler: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 1, should be 2: While processing positiveModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:20.469552 [ 17871 ] {a00757d4-4c0b-495b-bbad-5547a60dcd8c} executeQuery: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 1, should be 2: While processing positiveModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT positive_modulo(NULL);) 2024.12.17 03:29:20.481161 [ 17871 ] {a00757d4-4c0b-495b-bbad-5547a60dcd8c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 1, should be 2: While processing positiveModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:20.593619 [ 17871 ] {f3658b29-a655-4887-b69d-3a5c763e7790} executeQuery: Code: 42. DB::Exception: Number of arguments for function pow doesn't match: passed 1, should be 2: While processing pow(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT pow(NULL);) 2024.12.17 03:29:20.606794 [ 17871 ] {f3658b29-a655-4887-b69d-3a5c763e7790} TCPHandler: Code: 42. DB::Exception: Number of arguments for function pow doesn't match: passed 1, should be 2: While processing pow(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:20.732093 [ 17871 ] {3da72853-32fe-4915-ad5d-44e3754d6195} executeQuery: Code: 42. DB::Exception: Number of arguments for function pow doesn't match: passed 1, should be 2: While processing pow(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT power(NULL);) 2024.12.17 03:29:20.743390 [ 17871 ] {3da72853-32fe-4915-ad5d-44e3754d6195} TCPHandler: Code: 42. DB::Exception: Number of arguments for function pow doesn't match: passed 1, should be 2: While processing pow(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:20.868458 [ 17871 ] {b4f50cef-af27-44e4-8ad8-b37ad14f44a5} executeQuery: Code: 42. DB::Exception: Number of arguments for function proportionsZTest doesn't match: passed 1, should be 6: While processing proportionsZTest(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT proportionsZTest(NULL);) 2024.12.17 03:29:20.880095 [ 17871 ] {b4f50cef-af27-44e4-8ad8-b37ad14f44a5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function proportionsZTest doesn't match: passed 1, should be 6: While processing proportionsZTest(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:22.443482 [ 17871 ] {4807754d-05f6-4404-8258-5afcf48e7504} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantiles. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantiles(NULL);) 2024.12.17 03:29:22.462550 [ 17871 ] {4807754d-05f6-4404-8258-5afcf48e7504} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantiles. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:22.617130 [ 17871 ] {27eb596c-2112-49c0-9627-b3b74f9137ec} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesBFloat16. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesBFloat16(NULL);) 2024.12.17 03:29:22.635028 [ 17871 ] {27eb596c-2112-49c0-9627-b3b74f9137ec} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesBFloat16. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:22.914910 [ 17871 ] {520e6cf2-7acf-457c-954a-e3c301d841ab} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesDeterministic requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesDeterministic(NULL);) 2024.12.17 03:29:22.941518 [ 17871 ] {520e6cf2-7acf-457c-954a-e3c301d841ab} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesDeterministic requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:23.151949 [ 17871 ] {9f2338de-9983-409b-82b4-02fd4a2939b8} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExact. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesExact(NULL);) 2024.12.17 03:29:23.181726 [ 17871 ] {9f2338de-9983-409b-82b4-02fd4a2939b8} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExact. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:23.462580 [ 17871 ] {bc44e9bf-6e04-4839-b4d1-4f9b09f9423e} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactExclusive. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesExactExclusive(NULL);) 2024.12.17 03:29:23.491431 [ 17871 ] {bc44e9bf-6e04-4839-b4d1-4f9b09f9423e} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactExclusive. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:23.660721 [ 17871 ] {6b1fce95-3a32-4511-8329-08ea68a2bef0} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactHigh. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesExactHigh(NULL);) 2024.12.17 03:29:23.677885 [ 17871 ] {6b1fce95-3a32-4511-8329-08ea68a2bef0} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactHigh. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:23.791774 [ 17871 ] {2fea8c89-0377-48ed-8a65-d9fc2061f080} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactInclusive. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesExactInclusive(NULL);) 2024.12.17 03:29:23.800480 [ 17871 ] {2fea8c89-0377-48ed-8a65-d9fc2061f080} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactInclusive. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:23.839269 [ 17871 ] {08db08c6-eb2a-4cd6-91bb-d666e46061fe} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactLow. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesExactLow(NULL);) 2024.12.17 03:29:23.847865 [ 17871 ] {08db08c6-eb2a-4cd6-91bb-d666e46061fe} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesExactLow. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:23.880539 [ 17871 ] {ea1faaf2-2f3f-436f-81e7-d3f903e2209e} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesExactWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesExactWeighted(NULL);) 2024.12.17 03:29:23.889408 [ 17871 ] {ea1faaf2-2f3f-436f-81e7-d3f903e2209e} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesExactWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:23.933785 [ 17871 ] {0e3a4398-f055-488a-be73-dfbef1f9c10e} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesGK. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesGK(NULL);) 2024.12.17 03:29:23.941449 [ 17871 ] {0e3a4398-f055-488a-be73-dfbef1f9c10e} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesGK. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:23.975315 [ 17871 ] {7599bd27-52b9-419c-a474-602a229eef19} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesInterpolatedWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesInterpolatedWeighted(NULL);) 2024.12.17 03:29:23.981428 [ 17871 ] {7599bd27-52b9-419c-a474-602a229eef19} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesInterpolatedWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:24.013247 [ 17871 ] {48c3379a-f435-4323-bad1-6c238369b642} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesTDigest. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesTDigest(NULL);) 2024.12.17 03:29:24.023957 [ 17871 ] {48c3379a-f435-4323-bad1-6c238369b642} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesTDigest. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:24.069987 [ 17871 ] {546dd445-6080-4431-bf4b-d7a8fd6e3441} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesTDigestWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesTDigestWeighted(NULL);) 2024.12.17 03:29:24.074769 [ 17871 ] {546dd445-6080-4431-bf4b-d7a8fd6e3441} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesTDigestWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:24.106436 [ 17871 ] {1c2552f9-f69d-477f-9213-5f854dad4cdf} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesTiming. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesTiming(NULL);) 2024.12.17 03:29:24.111414 [ 17871 ] {1c2552f9-f69d-477f-9213-5f854dad4cdf} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of argument for aggregate function quantilesTiming. (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:24.148001 [ 17871 ] {a4880adf-d3ef-4808-8ae2-74791a5cc4d7} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesTimingWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT quantilesTimingWeighted(NULL);) 2024.12.17 03:29:24.152885 [ 17871 ] {a4880adf-d3ef-4808-8ae2-74791a5cc4d7} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesTimingWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:24.217266 [ 17871 ] {23b2daf6-e7ed-4bfc-bd38-66d2c8b720a5} executeQuery: Code: 42. DB::Exception: Number of arguments for function queryID doesn't match: passed 1, should be 0: While processing queryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT queryID(NULL);) 2024.12.17 03:29:24.223868 [ 17871 ] {23b2daf6-e7ed-4bfc-bd38-66d2c8b720a5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function queryID doesn't match: passed 1, should be 0: While processing queryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:24.367727 [ 17871 ] {58aa9f37-a7a9-47bb-b468-8b665a6dd924} executeQuery: Code: 42. DB::Exception: Number of arguments for function queryID doesn't match: passed 1, should be 0: While processing queryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT query_id(NULL);) 2024.12.17 03:29:24.371910 [ 17871 ] {58aa9f37-a7a9-47bb-b468-8b665a6dd924} TCPHandler: Code: 42. DB::Exception: Number of arguments for function queryID doesn't match: passed 1, should be 0: While processing queryID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:25.586086 [ 17871 ] {f633b626-c477-4a01-8d2a-f6a11f8c2e23} executeQuery: Code: 36. DB::Exception: The function 'rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT rank(NULL);) 2024.12.17 03:29:25.592025 [ 17871 ] {f633b626-c477-4a01-8d2a-f6a11f8c2e23} TCPHandler: Code: 36. DB::Exception: The function 'rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) 2024.12.17 03:29:26.645214 [ 17871 ] {f34bbc8c-6749-4d66-b90c-aa61dcef1b87} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpret doesn't match: passed 1, should be 2: While processing reinterpret(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT reinterpret(NULL);) 2024.12.17 03:29:26.650635 [ 17871 ] {f34bbc8c-6749-4d66-b90c-aa61dcef1b87} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpret doesn't match: passed 1, should be 2: While processing reinterpret(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:27.807259 [ 17871 ] {af23300b-c2f3-4581-ab0e-493325e3b11c} executeQuery: Code: 42. DB::Exception: Number of arguments for function repeat doesn't match: passed 1, should be 2: While processing repeat(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT repeat(NULL);) 2024.12.17 03:29:27.811237 [ 17871 ] {af23300b-c2f3-4581-ab0e-493325e3b11c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function repeat doesn't match: passed 1, should be 2: While processing repeat(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:27.843478 [ 17871 ] {cfaa0fb6-04c5-4bc7-80b8-9118964467b2} executeQuery: Code: 42. DB::Exception: Number of arguments for function replaceAll doesn't match: passed 1, should be 3: While processing replaceAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT replace(NULL);) 2024.12.17 03:29:27.847580 [ 17871 ] {cfaa0fb6-04c5-4bc7-80b8-9118964467b2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function replaceAll doesn't match: passed 1, should be 3: While processing replaceAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:27.882614 [ 17871 ] {4875f99c-3aec-425b-94ce-034697da4908} executeQuery: Code: 42. DB::Exception: Number of arguments for function replaceAll doesn't match: passed 1, should be 3: While processing replaceAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT replaceAll(NULL);) 2024.12.17 03:29:27.886895 [ 17871 ] {4875f99c-3aec-425b-94ce-034697da4908} TCPHandler: Code: 42. DB::Exception: Number of arguments for function replaceAll doesn't match: passed 1, should be 3: While processing replaceAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:27.922429 [ 17871 ] {a19faf03-91ad-409c-bb9f-e00e68380f6c} executeQuery: Code: 42. DB::Exception: Number of arguments for function replaceOne doesn't match: passed 1, should be 3: While processing replaceOne(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT replaceOne(NULL);) 2024.12.17 03:29:27.928700 [ 17871 ] {a19faf03-91ad-409c-bb9f-e00e68380f6c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function replaceOne doesn't match: passed 1, should be 3: While processing replaceOne(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:27.966347 [ 17871 ] {4093b141-5402-474b-ae31-5339b0981b8f} executeQuery: Code: 42. DB::Exception: Number of arguments for function replaceRegexpAll doesn't match: passed 1, should be 3: While processing replaceRegexpAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT replaceRegexpAll(NULL);) 2024.12.17 03:29:27.973506 [ 17871 ] {4093b141-5402-474b-ae31-5339b0981b8f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function replaceRegexpAll doesn't match: passed 1, should be 3: While processing replaceRegexpAll(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.017152 [ 17871 ] {89051210-f8a7-45eb-9b2c-1d326338b356} executeQuery: Code: 42. DB::Exception: Number of arguments for function replaceRegexpOne doesn't match: passed 1, should be 3: While processing replaceRegexpOne(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT replaceRegexpOne(NULL);) 2024.12.17 03:29:28.022702 [ 17871 ] {89051210-f8a7-45eb-9b2c-1d326338b356} TCPHandler: Code: 42. DB::Exception: Number of arguments for function replaceRegexpOne doesn't match: passed 1, should be 3: While processing replaceRegexpOne(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.061644 [ 17871 ] {60030245-a957-4ebd-a710-a2b4928d6967} executeQuery: Code: 35. DB::Exception: Function replicate expect at least two arguments, got 1: While processing replicate(NULL). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT replicate(NULL);) 2024.12.17 03:29:28.067417 [ 17871 ] {60030245-a957-4ebd-a710-a2b4928d6967} TCPHandler: Code: 35. DB::Exception: Function replicate expect at least two arguments, got 1: While processing replicate(NULL). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) 2024.12.17 03:29:28.324792 [ 17871 ] {6baabdc3-c0de-47c8-9e6c-cad6ddc1f0bc} executeQuery: Code: 42. DB::Exception: Number of arguments for function revision doesn't match: passed 1, should be 0: While processing revision(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT revision(NULL);) 2024.12.17 03:29:28.329100 [ 17871 ] {6baabdc3-c0de-47c8-9e6c-cad6ddc1f0bc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function revision doesn't match: passed 1, should be 0: While processing revision(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.361226 [ 17871 ] {0e0fdd44-103e-47cb-8c6e-52ccebc6f60d} executeQuery: Code: 42. DB::Exception: Number of arguments for function right doesn't match: passed 1, should be 2: While processing right(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT right(NULL);) 2024.12.17 03:29:28.365216 [ 17871 ] {0e0fdd44-103e-47cb-8c6e-52ccebc6f60d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function right doesn't match: passed 1, should be 2: While processing right(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.494427 [ 17871 ] {84888339-bf49-4909-9305-d1ae59c05bdc} executeQuery: Code: 42. DB::Exception: Number of arguments for function rightUTF8 doesn't match: passed 1, should be 2: While processing rightUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT rightUTF8(NULL);) 2024.12.17 03:29:28.498382 [ 17871 ] {84888339-bf49-4909-9305-d1ae59c05bdc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function rightUTF8 doesn't match: passed 1, should be 2: While processing rightUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.676705 [ 17871 ] {4bdfe4c1-74d6-4ab3-99e1-11f1ca04ff32} executeQuery: Code: 42. DB::Exception: Number of arguments for function roundDown doesn't match: passed 1, should be 2: While processing roundDown(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT roundDown(NULL);) 2024.12.17 03:29:28.680265 [ 17871 ] {4bdfe4c1-74d6-4ab3-99e1-11f1ca04ff32} TCPHandler: Code: 42. DB::Exception: Number of arguments for function roundDown doesn't match: passed 1, should be 2: While processing roundDown(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.802349 [ 17871 ] {533cd3a1-c7d4-4e17-9dfc-0e440c947a43} executeQuery: Code: 42. DB::Exception: Number of arguments for function rowNumberInAllBlocks doesn't match: passed 1, should be 0: While processing rowNumberInAllBlocks(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT rowNumberInAllBlocks(NULL);) 2024.12.17 03:29:28.806695 [ 17871 ] {533cd3a1-c7d4-4e17-9dfc-0e440c947a43} TCPHandler: Code: 42. DB::Exception: Number of arguments for function rowNumberInAllBlocks doesn't match: passed 1, should be 0: While processing rowNumberInAllBlocks(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.836654 [ 17871 ] {04857d6b-e12f-4042-a423-f352476836c9} executeQuery: Code: 42. DB::Exception: Number of arguments for function rowNumberInBlock doesn't match: passed 1, should be 0: While processing rowNumberInBlock(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT rowNumberInBlock(NULL);) 2024.12.17 03:29:28.839799 [ 17871 ] {04857d6b-e12f-4042-a423-f352476836c9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function rowNumberInBlock doesn't match: passed 1, should be 0: While processing rowNumberInBlock(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:28.888110 [ 17871 ] {0ae75995-9def-4a9a-bc26-3b08f945bee4} executeQuery: Code: 36. DB::Exception: The function 'row_number' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT row_number(NULL);) 2024.12.17 03:29:28.891758 [ 17871 ] {0ae75995-9def-4a9a-bc26-3b08f945bee4} TCPHandler: Code: 36. DB::Exception: The function 'row_number' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) 2024.12.17 03:29:29.095229 [ 17871 ] {ac35a9b0-da9c-43de-a52e-3d12da25ee44} executeQuery: Code: 42. DB::Exception: Number of arguments for function runningConcurrency doesn't match: passed 1, should be 2: While processing runningConcurrency(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT runningConcurrency(NULL);) 2024.12.17 03:29:29.099245 [ 17871 ] {ac35a9b0-da9c-43de-a52e-3d12da25ee44} TCPHandler: Code: 42. DB::Exception: Number of arguments for function runningConcurrency doesn't match: passed 1, should be 2: While processing runningConcurrency(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:29.130444 [ 17871 ] {4b831739-80b7-4e9e-af0f-7f2355422172} executeQuery: Code: 43. DB::Exception: Argument for function runningDifference must have numeric type.: While processing runningDifference(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT runningDifference(NULL);) 2024.12.17 03:29:29.134069 [ 17871 ] {4b831739-80b7-4e9e-af0f-7f2355422172} TCPHandler: Code: 43. DB::Exception: Argument for function runningDifference must have numeric type.: While processing runningDifference(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:29.163468 [ 17871 ] {6d39058d-d56c-4dd3-856b-80ad50d92a64} executeQuery: Code: 43. DB::Exception: Argument for function runningDifferenceStartingWithFirstValue must have numeric type.: While processing runningDifferenceStartingWithFirstValue(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT runningDifferenceStartingWithFirstValue(NULL);) 2024.12.17 03:29:29.166325 [ 17871 ] {6d39058d-d56c-4dd3-856b-80ad50d92a64} TCPHandler: Code: 43. DB::Exception: Argument for function runningDifferenceStartingWithFirstValue must have numeric type.: While processing runningDifferenceStartingWithFirstValue(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:29.191915 [ 17871 ] {e778d766-795f-407a-bf23-805523ed3abf} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2CapContains doesn't match: passed 1, should be 3: While processing s2CapContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT s2CapContains(NULL);) 2024.12.17 03:29:29.195011 [ 17871 ] {e778d766-795f-407a-bf23-805523ed3abf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2CapContains doesn't match: passed 1, should be 3: While processing s2CapContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:29.222882 [ 17871 ] {6e2a5b8c-0fcf-45fd-980f-9426489a8947} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2CapUnion doesn't match: passed 1, should be 4: While processing s2CapUnion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT s2CapUnion(NULL);) 2024.12.17 03:29:29.226014 [ 17871 ] {6e2a5b8c-0fcf-45fd-980f-9426489a8947} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2CapUnion doesn't match: passed 1, should be 4: While processing s2CapUnion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:29.342624 [ 17871 ] {443df01b-3bf5-4959-b10d-eb9befa5422d} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2CellsIntersect doesn't match: passed 1, should be 2: While processing s2CellsIntersect(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT s2CellsIntersect(NULL);) 2024.12.17 03:29:29.356522 [ 17871 ] {443df01b-3bf5-4959-b10d-eb9befa5422d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2CellsIntersect doesn't match: passed 1, should be 2: While processing s2CellsIntersect(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:29.589749 [ 17871 ] {01b86ce8-5aa8-4405-a3bf-10153acb332d} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2RectAdd doesn't match: passed 1, should be 3: While processing s2RectAdd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT s2RectAdd(NULL);) 2024.12.17 03:29:29.597351 [ 17871 ] {01b86ce8-5aa8-4405-a3bf-10153acb332d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2RectAdd doesn't match: passed 1, should be 3: While processing s2RectAdd(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:29.690924 [ 17871 ] {9499d4cb-8b3e-49dd-b345-153c04652f22} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2RectContains doesn't match: passed 1, should be 3: While processing s2RectContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT s2RectContains(NULL);) 2024.12.17 03:29:29.699650 [ 17871 ] {9499d4cb-8b3e-49dd-b345-153c04652f22} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2RectContains doesn't match: passed 1, should be 3: While processing s2RectContains(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:29.773118 [ 17871 ] {14517b88-6d5a-4f9b-8bf4-937315999b4e} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2RectIntersection doesn't match: passed 1, should be 4: While processing s2RectIntersection(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT s2RectIntersection(NULL);) 2024.12.17 03:29:29.783627 [ 17871 ] {14517b88-6d5a-4f9b-8bf4-937315999b4e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2RectIntersection doesn't match: passed 1, should be 4: While processing s2RectIntersection(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:29.851025 [ 17871 ] {487a1f0b-93c4-4db9-bdc5-3ebdd573fe14} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2RectUnion doesn't match: passed 1, should be 4: While processing s2RectUnion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT s2RectUnion(NULL);) 2024.12.17 03:29:29.857192 [ 17871 ] {487a1f0b-93c4-4db9-bdc5-3ebdd573fe14} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2RectUnion doesn't match: passed 1, should be 4: While processing s2RectUnion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:30.055545 [ 17871 ] {6ff445cd-7919-4458-981f-cadf8a11a1f6} executeQuery: Code: 42. DB::Exception: Number of arguments for function dotProduct doesn't match: passed 1, should be 2: While processing dotProduct(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT scalarProduct(NULL);) 2024.12.17 03:29:30.073757 [ 17871 ] {6ff445cd-7919-4458-981f-cadf8a11a1f6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dotProduct doesn't match: passed 1, should be 2: While processing dotProduct(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:30.351827 [ 17871 ] {1f24bc9a-82a9-4989-8b92-d6aec2c2a185} executeQuery: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT sequenceNextNode(NULL);) 2024.12.17 03:29:30.359117 [ 17871 ] {1f24bc9a-82a9-4989-8b92-d6aec2c2a185} TCPHandler: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION) 2024.12.17 03:29:30.439161 [ 17871 ] {23ef64af-927f-4084-b796-52f8f33a4235} executeQuery: Code: 42. DB::Exception: Number of arguments for function serverTimezone doesn't match: passed 1, should be 0: While processing serverTimeZone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT serverTimeZone(NULL);) 2024.12.17 03:29:30.446961 [ 17871 ] {23ef64af-927f-4084-b796-52f8f33a4235} TCPHandler: Code: 42. DB::Exception: Number of arguments for function serverTimezone doesn't match: passed 1, should be 0: While processing serverTimeZone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:30.546845 [ 17871 ] {af0b672e-e260-4c4a-8d2f-b1d73e291e46} executeQuery: Code: 42. DB::Exception: Number of arguments for function serverTimezone doesn't match: passed 1, should be 0: While processing serverTimezone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT serverTimezone(NULL);) 2024.12.17 03:29:30.553973 [ 17871 ] {af0b672e-e260-4c4a-8d2f-b1d73e291e46} TCPHandler: Code: 42. DB::Exception: Number of arguments for function serverTimezone doesn't match: passed 1, should be 0: While processing serverTimezone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:30.668352 [ 17871 ] {b05b749e-05e7-465d-8f94-352902bedde5} executeQuery: Code: 42. DB::Exception: Number of arguments for function serverUUID doesn't match: passed 1, should be 0: While processing serverUUID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT serverUUID(NULL);) 2024.12.17 03:29:30.685450 [ 17871 ] {b05b749e-05e7-465d-8f94-352902bedde5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function serverUUID doesn't match: passed 1, should be 0: While processing serverUUID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:30.797386 [ 17871 ] {20781908-0f57-4bb2-9f11-43f19770991b} executeQuery: Code: 42. DB::Exception: Number of arguments for function shardCount doesn't match: passed 1, should be 0: While processing shardCount(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT shardCount(NULL);) 2024.12.17 03:29:30.814080 [ 17871 ] {20781908-0f57-4bb2-9f11-43f19770991b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function shardCount doesn't match: passed 1, should be 0: While processing shardCount(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:30.927251 [ 17871 ] {fe8d1cfb-32ff-4e29-96bf-f477d23c99fd} executeQuery: Code: 42. DB::Exception: Number of arguments for function shardNum doesn't match: passed 1, should be 0: While processing shardNum(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT shardNum(NULL);) 2024.12.17 03:29:30.933033 [ 17871 ] {fe8d1cfb-32ff-4e29-96bf-f477d23c99fd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function shardNum doesn't match: passed 1, should be 0: While processing shardNum(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:31.032986 [ 17871 ] {5443f4ef-92db-4a8f-bcc6-d154ca0b8aa5} executeQuery: Code: 42. DB::Exception: Number of arguments for function showCertificate doesn't match: passed 1, should be 0: While processing showCertificate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT showCertificate(NULL);) 2024.12.17 03:29:31.048179 [ 17871 ] {5443f4ef-92db-4a8f-bcc6-d154ca0b8aa5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function showCertificate doesn't match: passed 1, should be 0: While processing showCertificate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:31.210632 [ 17871 ] {a9f3c4ab-9d74-4192-893a-b35577efc3c1} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 1, should be 2: While processing simpleJSONExtractBool(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT simpleJSONExtractBool(NULL);) 2024.12.17 03:29:31.226888 [ 17871 ] {a9f3c4ab-9d74-4192-893a-b35577efc3c1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 1, should be 2: While processing simpleJSONExtractBool(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:31.365041 [ 17871 ] {c6dea60c-1a1f-4449-9aae-1c63d391261d} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractFloat doesn't match: passed 1, should be 2: While processing simpleJSONExtractFloat(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT simpleJSONExtractFloat(NULL);) 2024.12.17 03:29:31.385375 [ 17871 ] {c6dea60c-1a1f-4449-9aae-1c63d391261d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractFloat doesn't match: passed 1, should be 2: While processing simpleJSONExtractFloat(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:31.477157 [ 17871 ] {e5469cb0-ae35-4cb0-ae07-bf23ccced4b3} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 1, should be 2: While processing simpleJSONExtractInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT simpleJSONExtractInt(NULL);) 2024.12.17 03:29:31.485190 [ 17871 ] {e5469cb0-ae35-4cb0-ae07-bf23ccced4b3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 1, should be 2: While processing simpleJSONExtractInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:31.596396 [ 17871 ] {bce913a5-f9e7-4234-8a2e-178490d2f0cf} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 1, should be 2: While processing simpleJSONExtractRaw(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT simpleJSONExtractRaw(NULL);) 2024.12.17 03:29:31.626550 [ 17871 ] {bce913a5-f9e7-4234-8a2e-178490d2f0cf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 1, should be 2: While processing simpleJSONExtractRaw(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:31.796629 [ 17871 ] {e52d5267-075d-45e9-8826-1b05e8e19381} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractString doesn't match: passed 1, should be 2: While processing simpleJSONExtractString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT simpleJSONExtractString(NULL);) 2024.12.17 03:29:31.818258 [ 17871 ] {e52d5267-075d-45e9-8826-1b05e8e19381} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractString doesn't match: passed 1, should be 2: While processing simpleJSONExtractString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:31.961327 [ 17871 ] {d32cdb93-f0af-4165-af90-d090132518fd} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractUInt doesn't match: passed 1, should be 2: While processing simpleJSONExtractUInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT simpleJSONExtractUInt(NULL);) 2024.12.17 03:29:31.966851 [ 17871 ] {d32cdb93-f0af-4165-af90-d090132518fd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractUInt doesn't match: passed 1, should be 2: While processing simpleJSONExtractUInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:32.050336 [ 17871 ] {23ac4d2c-5cce-4880-aa49-d102f78f9ed1} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONHas doesn't match: passed 1, should be 2: While processing simpleJSONHas(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT simpleJSONHas(NULL);) 2024.12.17 03:29:32.056075 [ 17871 ] {23ac4d2c-5cce-4880-aa49-d102f78f9ed1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONHas doesn't match: passed 1, should be 2: While processing simpleJSONHas(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:33.397893 [ 17871 ] {47ff2066-95ee-4a29-9675-373bab162d99} executeQuery: Code: 42. DB::Exception: Number of arguments for function startsWith doesn't match: passed 1, should be 2: While processing startsWith(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT startsWith(NULL);) 2024.12.17 03:29:33.401935 [ 17871 ] {47ff2066-95ee-4a29-9675-373bab162d99} TCPHandler: Code: 42. DB::Exception: Number of arguments for function startsWith doesn't match: passed 1, should be 2: While processing startsWith(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:33.432314 [ 17871 ] {ac396274-fd84-407a-b058-e60758f49341} executeQuery: Code: 42. DB::Exception: Number of arguments for function startsWithUTF8 doesn't match: passed 1, should be 2: While processing startsWithUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT startsWithUTF8(NULL);) 2024.12.17 03:29:33.435924 [ 17871 ] {ac396274-fd84-407a-b058-e60758f49341} TCPHandler: Code: 42. DB::Exception: Number of arguments for function startsWithUTF8 doesn't match: passed 1, should be 2: While processing startsWithUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:33.707412 [ 17871 ] {7af346a4-951e-4cd9-81e7-2eb19c842ec2} executeQuery: Code: 344. DB::Exception: Natural language processing function 'stem' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: Or unknown aggregate function stem. Maybe you meant: ['sum']: While processing stem(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT stem(NULL);) 2024.12.17 03:29:33.711929 [ 17871 ] {7af346a4-951e-4cd9-81e7-2eb19c842ec2} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'stem' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: Or unknown aggregate function stem. Maybe you meant: ['sum']: While processing stem(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:29:34.020530 [ 17871 ] {84748e06-431d-42f6-80c6-0b6423977cd0} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of the first argument of function structureToCapnProtoSchema, expected constant string: While processing structureToCapnProtoSchema(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT structureToCapnProtoSchema(NULL);) 2024.12.17 03:29:34.024125 [ 17871 ] {84748e06-431d-42f6-80c6-0b6423977cd0} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of the first argument of function structureToCapnProtoSchema, expected constant string: While processing structureToCapnProtoSchema(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:34.050958 [ 17871 ] {6eef2fef-dd5b-4d41-b9ca-e0c85fa0ed56} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of the first argument of function structureToProtobufSchema, expected constant string: While processing structureToProtobufSchema(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT structureToProtobufSchema(NULL);) 2024.12.17 03:29:34.054492 [ 17871 ] {6eef2fef-dd5b-4d41-b9ca-e0c85fa0ed56} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) of the first argument of function structureToProtobufSchema, expected constant string: While processing structureToProtobufSchema(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:34.148739 [ 17871 ] {d975ccea-37e7-4963-a45b-71a46f96758a} executeQuery: Code: 42. DB::Exception: Number of arguments for function subBitmap doesn't match: passed 1, should be 3: While processing subBitmap(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT subBitmap(NULL);) 2024.12.17 03:29:34.153323 [ 17871 ] {d975ccea-37e7-4963-a45b-71a46f96758a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subBitmap doesn't match: passed 1, should be 3: While processing subBitmap(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:34.239985 [ 17871 ] {34dcf7b3-36e5-4029-8790-44f64d7f3a15} executeQuery: Code: 42. DB::Exception: Number of arguments for function substringIndex doesn't match: passed 1, should be 3: While processing substringIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT substringIndex(NULL);) 2024.12.17 03:29:34.244576 [ 17871 ] {34dcf7b3-36e5-4029-8790-44f64d7f3a15} TCPHandler: Code: 42. DB::Exception: Number of arguments for function substringIndex doesn't match: passed 1, should be 3: While processing substringIndex(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:34.275593 [ 17871 ] {7643d1c8-b9bd-492b-8c63-5221cc1dc48a} executeQuery: Code: 42. DB::Exception: Number of arguments for function substringIndexUTF8 doesn't match: passed 1, should be 3: While processing substringIndexUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT substringIndexUTF8(NULL);) 2024.12.17 03:29:34.280284 [ 17871 ] {7643d1c8-b9bd-492b-8c63-5221cc1dc48a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function substringIndexUTF8 doesn't match: passed 1, should be 3: While processing substringIndexUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:34.463604 [ 17871 ] {d7fc96d8-e6c7-4443-a564-22422750fbca} executeQuery: Code: 42. DB::Exception: Number of arguments for function subtractInterval doesn't match: passed 1, should be 2: While processing subtractInterval(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT subtractInterval(NULL);) 2024.12.17 03:29:34.469127 [ 17871 ] {d7fc96d8-e6c7-4443-a564-22422750fbca} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subtractInterval doesn't match: passed 1, should be 2: While processing subtractInterval(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:34.864637 [ 17871 ] {feed0756-c270-45dc-9655-473d7ab23627} executeQuery: Code: 42. DB::Exception: Number of arguments for function subtractTupleOfIntervals doesn't match: passed 1, should be 2: While processing subtractTupleOfIntervals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT subtractTupleOfIntervals(NULL);) 2024.12.17 03:29:34.868296 [ 17871 ] {feed0756-c270-45dc-9655-473d7ab23627} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subtractTupleOfIntervals doesn't match: passed 1, should be 2: While processing subtractTupleOfIntervals(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:35.530012 [ 17871 ] {c9abba61-e040-4eac-a9d5-66fdc943812d} executeQuery: Code: 344. DB::Exception: Natural language processing function 'synonyms' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing synonyms(NULL). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT synonyms(NULL);) 2024.12.17 03:29:35.534952 [ 17871 ] {c9abba61-e040-4eac-a9d5-66fdc943812d} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'synonyms' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing synonyms(NULL). (SUPPORT_IS_DISABLED) 2024.12.17 03:29:35.660940 [ 17871 ] {a88a0326-f088-4660-af39-9c0a7c1b04f3} executeQuery: Code: 42. DB::Exception: Number of arguments for function tcpPort doesn't match: passed 1, should be 0: While processing tcpPort(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tcpPort(NULL);) 2024.12.17 03:29:35.665850 [ 17871 ] {a88a0326-f088-4660-af39-9c0a7c1b04f3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tcpPort doesn't match: passed 1, should be 0: While processing tcpPort(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:35.693735 [ 17871 ] {ff6a36d1-2efb-460b-8420-bbb8c6c4f6b3} executeQuery: Code: 42. DB::Exception: Number of arguments for function test_function doesn't match: passed 1, should be 2: While processing test_function(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT test_function(NULL);) 2024.12.17 03:29:35.699952 [ 17871 ] {ff6a36d1-2efb-460b-8420-bbb8c6c4f6b3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function test_function doesn't match: passed 1, should be 2: While processing test_function(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:35.898167 [ 17871 ] {9dd7898c-1a39-4319-91bc-615e3798250f} executeQuery: Code: 42. DB::Exception: Number of arguments for function tid doesn't match: passed 1, should be 0: While processing tid(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tid(NULL);) 2024.12.17 03:29:35.904061 [ 17871 ] {9dd7898c-1a39-4319-91bc-615e3798250f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tid doesn't match: passed 1, should be 0: While processing tid(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:36.036165 [ 17871 ] {e1e82b33-714f-4cfb-86fa-61e256c92619} executeQuery: Code: 42. DB::Exception: Number of arguments for function timezone doesn't match: passed 1, should be 0: While processing timeZone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT timeZone(NULL);) 2024.12.17 03:29:36.040465 [ 17871 ] {e1e82b33-714f-4cfb-86fa-61e256c92619} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timezone doesn't match: passed 1, should be 0: While processing timeZone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:36.071918 [ 17871 ] {970c9ea1-babb-4f8a-b4af-8822a4ae2edc} executeQuery: Code: 36. DB::Exception: Bad argument for function timezoneOf, should be DateTime or DateTime64: While processing timeZoneOf(NULL). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT timeZoneOf(NULL);) 2024.12.17 03:29:36.078155 [ 17871 ] {970c9ea1-babb-4f8a-b4af-8822a4ae2edc} TCPHandler: Code: 36. DB::Exception: Bad argument for function timezoneOf, should be DateTime or DateTime64: While processing timeZoneOf(NULL). (BAD_ARGUMENTS) 2024.12.17 03:29:36.178189 [ 17871 ] {be0d349f-9aae-4db6-a7e6-d66c7cef6ad4} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT timestampDiff(NULL);) 2024.12.17 03:29:36.182578 [ 17871 ] {be0d349f-9aae-4db6-a7e6-d66c7cef6ad4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:36.229404 [ 17871 ] {51ed6baa-1d0d-42ec-80f5-50b0d9b127e1} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT timestamp_diff(NULL);) 2024.12.17 03:29:36.232656 [ 17871 ] {51ed6baa-1d0d-42ec-80f5-50b0d9b127e1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: the function requires more arguments: While processing dateDiff(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:36.275927 [ 17871 ] {4c818867-22b0-4e8f-b2d3-5bd83852dc85} executeQuery: Code: 42. DB::Exception: Number of arguments for function timezone doesn't match: passed 1, should be 0: While processing timezone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT timezone(NULL);) 2024.12.17 03:29:36.279639 [ 17871 ] {4c818867-22b0-4e8f-b2d3-5bd83852dc85} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timezone doesn't match: passed 1, should be 0: While processing timezone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:36.323766 [ 17871 ] {fa11bc19-74f0-4d2d-95a6-0ce8bf8e8976} executeQuery: Code: 36. DB::Exception: Bad argument for function timezoneOf, should be DateTime or DateTime64: While processing timezoneOf(NULL). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT timezoneOf(NULL);) 2024.12.17 03:29:36.330777 [ 17871 ] {fa11bc19-74f0-4d2d-95a6-0ce8bf8e8976} TCPHandler: Code: 36. DB::Exception: Bad argument for function timezoneOf, should be DateTime or DateTime64: While processing timezoneOf(NULL). (BAD_ARGUMENTS) 2024.12.17 03:29:37.157522 [ 17871 ] {6481c78f-d7bb-43e3-9a16-d2563897ba5b} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDateTime64OrDefault provided 1 (Nullable(Nothing)), expected 2 to 4 ('Value' : , 'scale' : const Integer, ['timezone' : const String, 'default_value' : ]): While processing toDateTime64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toDateTime64OrDefault(NULL);) 2024.12.17 03:29:37.165982 [ 17871 ] {6481c78f-d7bb-43e3-9a16-d2563897ba5b} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDateTime64OrDefault provided 1 (Nullable(Nothing)), expected 2 to 4 ('Value' : , 'scale' : const Integer, ['timezone' : const String, 'default_value' : ]): While processing toDateTime64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:37.779706 [ 17871 ] {f1af1130-d652-4ed1-bce7-8e183a8e9477} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal128OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal128OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toDecimal128OrDefault(NULL);) 2024.12.17 03:29:37.784324 [ 17871 ] {f1af1130-d652-4ed1-bce7-8e183a8e9477} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal128OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal128OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:37.970468 [ 17871 ] {b418f04f-cdf7-43c3-bd07-f943e91fe450} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal256OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal256OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toDecimal256OrDefault(NULL);) 2024.12.17 03:29:37.976055 [ 17871 ] {b418f04f-cdf7-43c3-bd07-f943e91fe450} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal256OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal256OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:38.212353 [ 17871 ] {994e7b69-abdd-489e-9027-3b36f9e23e85} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal32OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toDecimal32OrDefault(NULL);) 2024.12.17 03:29:38.218973 [ 17871 ] {994e7b69-abdd-489e-9027-3b36f9e23e85} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal32OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal32OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:38.390728 [ 17871 ] {1e24db79-c9b1-40c8-a558-cd6287143185} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal64OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toDecimal64OrDefault(NULL);) 2024.12.17 03:29:38.527840 [ 17871 ] {1e24db79-c9b1-40c8-a558-cd6287143185} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDecimal64OrDefault provided 1 (Nullable(Nothing)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['default_value' : ]): While processing toDecimal64OrDefault(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:38.676178 [ 17871 ] {b6517361-046e-446c-9c52-60374a4801f1} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDecimalString doesn't match: passed 1, should be 2: While processing toDecimalString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toDecimalString(NULL);) 2024.12.17 03:29:38.764318 [ 17871 ] {b6517361-046e-446c-9c52-60374a4801f1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDecimalString doesn't match: passed 1, should be 2: While processing toDecimalString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:38.796673 [ 17871 ] {95a139ef-d9b5-4cfc-86d1-0a0667f49c9b} executeQuery: Code: 42. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: While processing toFixedString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toFixedString(NULL);) 2024.12.17 03:29:38.802944 [ 17871 ] {95a139ef-d9b5-4cfc-86d1-0a0667f49c9b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 1, should be 2: While processing toFixedString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:41.096708 [ 16757 ] {4e97b1ef-a3c4-4725-9746-0781cb0ff58b} executeQuery: Code: 43. DB::Exception: The timezone argument of function toMonday is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toMonday(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toMonday(toDate(16433), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d1ff841 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d1f820e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:41.101358 [ 16757 ] {4e97b1ef-a3c4-4725-9746-0781cb0ff58b} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toMonday is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toMonday(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d1ff841 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d1f820e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:42.126965 [ 16757 ] {c7f56ce9-e07c-47c5-acc4-b38231167606} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfWeek(toDate(16433), 0, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d18eb1f in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d186955 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:42.144180 [ 16757 ] {c7f56ce9-e07c-47c5-acc4-b38231167606} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d18eb1f in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d186955 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:42.557979 [ 16757 ] {84c3ec81-3318-41a0-a089-91cbb7204ff5} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfWeek(toDate(16433), 1, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d18eb1f in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d186955 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:42.562064 [ 16757 ] {84c3ec81-3318-41a0-a089-91cbb7204ff5} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d18eb1f in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d186955 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:42.848289 [ 17871 ] {b8b084d4-ce6b-4b3e-b681-3604a6438b22} executeQuery: Code: 43. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Nullable(Nothing): While processing toLowCardinality(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toLowCardinality(NULL);) 2024.12.17 03:29:42.857056 [ 17871 ] {b8b084d4-ce6b-4b3e-b681-3604a6438b22} TCPHandler: Code: 43. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Nullable(Nothing): While processing toLowCardinality(NULL). (ILLEGAL_TYPE_OF_ARGUMENT) 2024.12.17 03:29:43.611357 [ 16757 ] {309c98f0-0314-4f51-a168-94e9809087e9} executeQuery: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toLastDayOfWeek(toDate(16433), 0, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d1998ff in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d191f95 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:43.613877 [ 16757 ] {309c98f0-0314-4f51-a168-94e9809087e9} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d1998ff in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d191f95 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:44.057056 [ 16757 ] {14a100f2-df0a-400f-8d88-e2088a24deac} executeQuery: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toLastDayOfWeek(toDate(16433), 1, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d1998ff in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d191f95 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:44.059455 [ 16757 ] {14a100f2-df0a-400f-8d88-e2088a24deac} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000001d1998ff in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d191f95 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:44.752716 [ 17871 ] {d87002ec-4517-48fe-847b-9efa4df9652f} executeQuery: Code: 42. DB::Exception: Number of arguments for function toTimezone doesn't match: passed 1, should be 2: While processing toTimeZone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toTimeZone(NULL);) 2024.12.17 03:29:44.756606 [ 17871 ] {d87002ec-4517-48fe-847b-9efa4df9652f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toTimezone doesn't match: passed 1, should be 2: While processing toTimeZone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:44.786840 [ 17871 ] {21c98836-e957-438a-ac0c-7d7d9db79561} executeQuery: Code: 42. DB::Exception: Number of arguments for function toTimezone doesn't match: passed 1, should be 2: While processing toTimezone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toTimezone(NULL);) 2024.12.17 03:29:44.793605 [ 17871 ] {21c98836-e957-438a-ac0c-7d7d9db79561} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toTimezone doesn't match: passed 1, should be 2: While processing toTimezone(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:45.048012 [ 16757 ] {e6cb3592-55f3-4669-af30-e2b8e1925e9c} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfMonth is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfMonth(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfMonth(toDate(16433), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2bbd41 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2b4b2e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:45.051120 [ 16757 ] {e6cb3592-55f3-4669-af30-e2b8e1925e9c} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfMonth is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfMonth(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2bbd41 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2b4b2e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:46.033991 [ 17871 ] {6e6fea8d-c1ae-496a-8213-7f782bc28a27} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUTCTimestamp doesn't match: passed 1, should be 2: While processing toUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT toUTCTimestamp(NULL);) 2024.12.17 03:29:46.038501 [ 17871 ] {6e6fea8d-c1ae-496a-8213-7f782bc28a27} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUTCTimestamp doesn't match: passed 1, should be 2: While processing toUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:46.114237 [ 16757 ] {1fceb2c8-44b7-45d6-8b68-834a6a03d8d4} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfQuarter is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfQuarter(toDate(16343), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfQuarter(toDate(16343), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2c7681 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2bed6e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:46.117423 [ 16757 ] {1fceb2c8-44b7-45d6-8b68-834a6a03d8d4} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfQuarter is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfQuarter(toDate(16343), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2c7681 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2bed6e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:46.741105 [ 17867 ] {e1a97cfa-be40-4416-826d-31a3600704c1} StorageBuffer (test_inith1lk.mt_buffer_00158): Destination table test_inith1lk.mt_00158 doesn't exist. Block of data is discarded. 2024.12.17 03:29:46.742197 [ 17867 ] {e1a97cfa-be40-4416-826d-31a3600704c1} StorageBuffer (test_inith1lk.mt_buffer_00158): Destination table test_inith1lk.mt_00158 doesn't exist. Block of data is discarded. 2024.12.17 03:29:46.844062 [ 17871 ] {6e03dffe-e2e1-474a-8fc6-aeb644289b31} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUTCTimestamp doesn't match: passed 1, should be 2: While processing toUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT to_utc_timestamp(NULL);) 2024.12.17 03:29:46.847394 [ 17871 ] {6e03dffe-e2e1-474a-8fc6-aeb644289b31} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUTCTimestamp doesn't match: passed 1, should be 2: While processing toUTCTimestamp(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:46.871435 [ 17871 ] {8ad1b595-c893-4ed2-907f-a2dc360bc405} executeQuery: Code: 42. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: While processing today(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT today(NULL);) 2024.12.17 03:29:46.874789 [ 17871 ] {8ad1b595-c893-4ed2-907f-a2dc360bc405} TCPHandler: Code: 42. DB::Exception: Number of arguments for function today doesn't match: passed 1, should be 0: While processing today(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.116105 [ 16757 ] {721baa73-df68-419e-bf65-e9444e33b772} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfYear is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfYear(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfYear(toDate(16433), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2f86c1 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2f042e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:47.118621 [ 16757 ] {721baa73-df68-419e-bf65-e9444e33b772} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfYear is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfYear(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001d2f86c1 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000001d2f042e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:47.142999 [ 17871 ] {3310f54a-c942-4c4a-93c9-63b1c9bc29b2} executeQuery: Code: 42. DB::Exception: Number of arguments for function transactionID doesn't match: passed 1, should be 0: While processing transactionID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT transactionID(NULL);) 2024.12.17 03:29:47.146849 [ 17871 ] {3310f54a-c942-4c4a-93c9-63b1c9bc29b2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function transactionID doesn't match: passed 1, should be 0: While processing transactionID(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.173673 [ 17871 ] {2b20a484-9649-4146-8f98-9861e508f3fd} executeQuery: Code: 42. DB::Exception: Number of arguments for function transactionLatestSnapshot doesn't match: passed 1, should be 0: While processing transactionLatestSnapshot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT transactionLatestSnapshot(NULL);) 2024.12.17 03:29:47.177189 [ 17871 ] {2b20a484-9649-4146-8f98-9861e508f3fd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function transactionLatestSnapshot doesn't match: passed 1, should be 0: While processing transactionLatestSnapshot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.202648 [ 17871 ] {68844ceb-7d00-455e-9a7c-5500538e7f30} executeQuery: Code: 42. DB::Exception: Number of arguments for function transactionOldestSnapshot doesn't match: passed 1, should be 0: While processing transactionOldestSnapshot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT transactionOldestSnapshot(NULL);) 2024.12.17 03:29:47.206042 [ 17871 ] {68844ceb-7d00-455e-9a7c-5500538e7f30} TCPHandler: Code: 42. DB::Exception: Number of arguments for function transactionOldestSnapshot doesn't match: passed 1, should be 0: While processing transactionOldestSnapshot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.229872 [ 17871 ] {21c927b9-4799-4a1b-bfb2-54016c8723a1} executeQuery: Code: 42. DB::Exception: Number of arguments for function transform doesn't match: passed 1, should be 3 or 4: While processing transform(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT transform(NULL);) 2024.12.17 03:29:47.232998 [ 17871 ] {21c927b9-4799-4a1b-bfb2-54016c8723a1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function transform doesn't match: passed 1, should be 3 or 4: While processing transform(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.259840 [ 17871 ] {ebcfad6c-e1c5-4ac7-b48b-5c2a129729c1} executeQuery: Code: 42. DB::Exception: Number of arguments for function translate doesn't match: passed 1, should be 3: While processing translate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT translate(NULL);) 2024.12.17 03:29:47.263550 [ 17871 ] {ebcfad6c-e1c5-4ac7-b48b-5c2a129729c1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function translate doesn't match: passed 1, should be 3: While processing translate(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.288644 [ 17871 ] {cb8a3925-71b4-4bb5-9c7f-98ac2428a031} executeQuery: Code: 42. DB::Exception: Number of arguments for function translateUTF8 doesn't match: passed 1, should be 3: While processing translateUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT translateUTF8(NULL);) 2024.12.17 03:29:47.291523 [ 17871 ] {cb8a3925-71b4-4bb5-9c7f-98ac2428a031} TCPHandler: Code: 42. DB::Exception: Number of arguments for function translateUTF8 doesn't match: passed 1, should be 3: While processing translateUTF8(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.668380 [ 17871 ] {237eef74-e66a-4470-ae3f-0c774bb13386} executeQuery: Code: 42. DB::Exception: Number of arguments for function tryDecrypt doesn't match: the function requires more arguments: While processing tryDecrypt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tryDecrypt(NULL);) 2024.12.17 03:29:47.671675 [ 17871 ] {237eef74-e66a-4470-ae3f-0c774bb13386} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tryDecrypt doesn't match: the function requires more arguments: While processing tryDecrypt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.916394 [ 17871 ] {32bca973-1e3b-4bb4-a2c8-30de4ffe6d0f} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleDivide doesn't match: passed 1, should be 2: While processing tupleDivide(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleDivide(NULL);) 2024.12.17 03:29:47.919839 [ 17871 ] {32bca973-1e3b-4bb4-a2c8-30de4ffe6d0f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleDivide doesn't match: passed 1, should be 2: While processing tupleDivide(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.947643 [ 17871 ] {cbf17f98-9dc0-495d-8163-15412edf399e} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleDivideByNumber doesn't match: passed 1, should be 2: While processing tupleDivideByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleDivideByNumber(NULL);) 2024.12.17 03:29:47.952056 [ 17871 ] {cbf17f98-9dc0-495d-8163-15412edf399e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleDivideByNumber doesn't match: passed 1, should be 2: While processing tupleDivideByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:47.979762 [ 17871 ] {833d345e-326d-4e49-bbca-9f34e0b42870} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleElement(NULL);) 2024.12.17 03:29:47.983772 [ 17871 ] {833d345e-326d-4e49-bbca-9f34e0b42870} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.014561 [ 17871 ] {f8f5e906-f2bd-418f-bbaa-5b925a38a32b} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleHammingDistance doesn't match: passed 1, should be 2: While processing tupleHammingDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleHammingDistance(NULL);) 2024.12.17 03:29:48.018424 [ 17871 ] {f8f5e906-f2bd-418f-bbaa-5b925a38a32b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleHammingDistance doesn't match: passed 1, should be 2: While processing tupleHammingDistance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.044564 [ 17871 ] {7637c3fb-f715-4660-8eb9-03fca9d56725} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleIntDiv doesn't match: passed 1, should be 2: While processing tupleIntDiv(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleIntDiv(NULL);) 2024.12.17 03:29:48.048740 [ 17871 ] {7637c3fb-f715-4660-8eb9-03fca9d56725} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleIntDiv doesn't match: passed 1, should be 2: While processing tupleIntDiv(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.079354 [ 17871 ] {0ec38dd3-6e6c-40e6-9037-051bcff94877} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleIntDivByNumber doesn't match: passed 1, should be 2: While processing tupleIntDivByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleIntDivByNumber(NULL);) 2024.12.17 03:29:48.083519 [ 17871 ] {0ec38dd3-6e6c-40e6-9037-051bcff94877} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleIntDivByNumber doesn't match: passed 1, should be 2: While processing tupleIntDivByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.110861 [ 17871 ] {bec51b8b-4a66-4f8c-9c87-49533b42835e} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleIntDivOrZero doesn't match: passed 1, should be 2: While processing tupleIntDivOrZero(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleIntDivOrZero(NULL);) 2024.12.17 03:29:48.114793 [ 17871 ] {bec51b8b-4a66-4f8c-9c87-49533b42835e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleIntDivOrZero doesn't match: passed 1, should be 2: While processing tupleIntDivOrZero(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.142830 [ 17871 ] {a5efdfc9-b725-47ca-b2b9-21c3b1306292} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleIntDivOrZeroByNumber doesn't match: passed 1, should be 2: While processing tupleIntDivOrZeroByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleIntDivOrZeroByNumber(NULL);) 2024.12.17 03:29:48.146944 [ 17871 ] {a5efdfc9-b725-47ca-b2b9-21c3b1306292} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleIntDivOrZeroByNumber doesn't match: passed 1, should be 2: While processing tupleIntDivOrZeroByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.176447 [ 17871 ] {fc2464c7-4f58-4128-90e0-b485d05cc944} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleMinus doesn't match: passed 1, should be 2: While processing tupleMinus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleMinus(NULL);) 2024.12.17 03:29:48.180371 [ 17871 ] {fc2464c7-4f58-4128-90e0-b485d05cc944} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleMinus doesn't match: passed 1, should be 2: While processing tupleMinus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.207557 [ 17871 ] {f6f86ada-9558-4a03-8c55-0a4ce79f3911} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleModulo doesn't match: passed 1, should be 2: While processing tupleModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleModulo(NULL);) 2024.12.17 03:29:48.211304 [ 17871 ] {f6f86ada-9558-4a03-8c55-0a4ce79f3911} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleModulo doesn't match: passed 1, should be 2: While processing tupleModulo(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.241640 [ 17871 ] {2b2e485e-ed0d-4c8a-994f-30b7f30e20af} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleModuloByNumber doesn't match: passed 1, should be 2: While processing tupleModuloByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleModuloByNumber(NULL);) 2024.12.17 03:29:48.245370 [ 17871 ] {2b2e485e-ed0d-4c8a-994f-30b7f30e20af} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleModuloByNumber doesn't match: passed 1, should be 2: While processing tupleModuloByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.267789 [ 17871 ] {5c997a96-35d2-4693-922c-a6915234f3a9} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleMultiply doesn't match: passed 1, should be 2: While processing tupleMultiply(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleMultiply(NULL);) 2024.12.17 03:29:48.271419 [ 17871 ] {5c997a96-35d2-4693-922c-a6915234f3a9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleMultiply doesn't match: passed 1, should be 2: While processing tupleMultiply(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.295273 [ 17871 ] {fecf2231-5f11-40b5-954c-0a426f4a6122} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleMultiplyByNumber doesn't match: passed 1, should be 2: While processing tupleMultiplyByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tupleMultiplyByNumber(NULL);) 2024.12.17 03:29:48.298456 [ 17871 ] {fecf2231-5f11-40b5-954c-0a426f4a6122} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleMultiplyByNumber doesn't match: passed 1, should be 2: While processing tupleMultiplyByNumber(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.365375 [ 17871 ] {a71c4ab2-5cda-4f4a-a5da-61396948a328} executeQuery: Code: 42. DB::Exception: Number of arguments for function tuplePlus doesn't match: passed 1, should be 2: While processing tuplePlus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT tuplePlus(NULL);) 2024.12.17 03:29:48.368606 [ 17871 ] {a71c4ab2-5cda-4f4a-a5da-61396948a328} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tuplePlus doesn't match: passed 1, should be 2: While processing tuplePlus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.893068 [ 9399 ] {23b6680f-718c-461c-a184-39820fe2c80a} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform('hello', 'wrong', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45766) (comment: 00153_transform.sql) (in query: SELECT transform('hello', 'wrong', 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ab564 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:48.895397 [ 9399 ] {23b6680f-718c-461c-a184-39820fe2c80a} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform('hello', 'wrong', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ab564 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:48.952703 [ 17871 ] {cac3b506-cceb-4081-b416-26a6a3050e80} executeQuery: Code: 42. DB::Exception: Number of arguments for function uniqThetaIntersect doesn't match: passed 1, should be 2: While processing uniqThetaIntersect(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT uniqThetaIntersect(NULL);) 2024.12.17 03:29:48.956100 [ 17871 ] {cac3b506-cceb-4081-b416-26a6a3050e80} TCPHandler: Code: 42. DB::Exception: Number of arguments for function uniqThetaIntersect doesn't match: passed 1, should be 2: While processing uniqThetaIntersect(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:48.979381 [ 17871 ] {6e44011a-d51c-4460-b10a-604db6520632} executeQuery: Code: 42. DB::Exception: Number of arguments for function uniqThetaNot doesn't match: passed 1, should be 2: While processing uniqThetaNot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT uniqThetaNot(NULL);) 2024.12.17 03:29:48.982830 [ 17871 ] {6e44011a-d51c-4460-b10a-604db6520632} TCPHandler: Code: 42. DB::Exception: Number of arguments for function uniqThetaNot doesn't match: passed 1, should be 2: While processing uniqThetaNot(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.007925 [ 17871 ] {17f92af1-03d7-4d23-bad9-54314945c2dd} executeQuery: Code: 42. DB::Exception: Number of arguments for function uniqThetaUnion doesn't match: passed 1, should be 2: While processing uniqThetaUnion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT uniqThetaUnion(NULL);) 2024.12.17 03:29:49.011448 [ 17871 ] {17f92af1-03d7-4d23-bad9-54314945c2dd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function uniqThetaUnion doesn't match: passed 1, should be 2: While processing uniqThetaUnion(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.188264 [ 17871 ] {6074f183-d8a6-4f76-a8ee-05841a622235} executeQuery: Code: 42. DB::Exception: Number of arguments for function uptime doesn't match: passed 1, should be 0: While processing uptime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT uptime(NULL);) 2024.12.17 03:29:49.191765 [ 17871 ] {6074f183-d8a6-4f76-a8ee-05841a622235} TCPHandler: Code: 42. DB::Exception: Number of arguments for function uptime doesn't match: passed 1, should be 0: While processing uptime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.216442 [ 17871 ] {11731dab-1e75-4aa7-b888-8f8010410177} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 1, should be 0: While processing currentUser(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT user(NULL);) 2024.12.17 03:29:49.220123 [ 17871 ] {11731dab-1e75-4aa7-b888-8f8010410177} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 1, should be 0: While processing currentUser(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.516176 [ 9399 ] {76ce1bcd-93aa-49c4-8a27-9864803197b6} executeQuery: Code: 43. DB::Exception: Third argument of function transform, must be array of destination values to transform to.: While processing transform('hello', ['wrong'], 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45766) (comment: 00153_transform.sql) (in query: SELECT transform('hello', ['wrong'], 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ab767 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:49.518959 [ 9399 ] {76ce1bcd-93aa-49c4-8a27-9864803197b6} TCPHandler: Code: 43. DB::Exception: Third argument of function transform, must be array of destination values to transform to.: While processing transform('hello', ['wrong'], 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ab767 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:49.521451 [ 17871 ] {cfc1dd9d-ffb3-4585-bc00-ef6242e04ae4} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleMinus doesn't match: passed 1, should be 2: While processing tupleMinus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT vectorDifference(NULL);) 2024.12.17 03:29:49.525484 [ 17871 ] {cfc1dd9d-ffb3-4585-bc00-ef6242e04ae4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleMinus doesn't match: passed 1, should be 2: While processing tupleMinus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.547710 [ 9399 ] {19e89512-f96f-4173-b342-94365c2dcc57} executeQuery: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform('hello', ['wrong'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45766) (comment: 00153_transform.sql) (in query: SELECT transform('hello', ['wrong'], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3acb81 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:49.550157 [ 9399 ] {19e89512-f96f-4173-b342-94365c2dcc57} TCPHandler: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform('hello', ['wrong'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3acb81 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:49.555108 [ 17871 ] {b1c30623-5d9c-4bfc-8762-1395e31f5b4a} executeQuery: Code: 42. DB::Exception: Number of arguments for function tuplePlus doesn't match: passed 1, should be 2: While processing tuplePlus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT vectorSum(NULL);) 2024.12.17 03:29:49.558997 [ 17871 ] {b1c30623-5d9c-4bfc-8762-1395e31f5b4a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tuplePlus doesn't match: passed 1, should be 2: While processing tuplePlus(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.584332 [ 17871 ] {4543672c-87b3-431b-8485-9e239ad2b451} executeQuery: Code: 42. DB::Exception: Number of arguments for function version doesn't match: passed 1, should be 0: While processing version(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT version(NULL);) 2024.12.17 03:29:49.588114 [ 17871 ] {4543672c-87b3-431b-8485-9e239ad2b451} TCPHandler: Code: 42. DB::Exception: Number of arguments for function version doesn't match: passed 1, should be 0: While processing version(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.660883 [ 17871 ] {707b064e-37a6-45ab-b5d0-1aead9b9eea2} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 1, should be 2: While processing visitParamExtractBool(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT visitParamExtractBool(NULL);) 2024.12.17 03:29:49.664461 [ 17871 ] {707b064e-37a6-45ab-b5d0-1aead9b9eea2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 1, should be 2: While processing visitParamExtractBool(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.688849 [ 17871 ] {7617d22b-2ecb-48c8-8b72-18ed2917250a} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractFloat doesn't match: passed 1, should be 2: While processing visitParamExtractFloat(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT visitParamExtractFloat(NULL);) 2024.12.17 03:29:49.692502 [ 17871 ] {7617d22b-2ecb-48c8-8b72-18ed2917250a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractFloat doesn't match: passed 1, should be 2: While processing visitParamExtractFloat(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.721247 [ 17871 ] {5bb8b836-2b66-484b-b3d7-58403eb80ddc} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 1, should be 2: While processing visitParamExtractInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT visitParamExtractInt(NULL);) 2024.12.17 03:29:49.725430 [ 17871 ] {5bb8b836-2b66-484b-b3d7-58403eb80ddc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 1, should be 2: While processing visitParamExtractInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.750692 [ 17871 ] {58c410e9-9b27-4aab-ad8f-17f2e5c54389} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 1, should be 2: While processing visitParamExtractRaw(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT visitParamExtractRaw(NULL);) 2024.12.17 03:29:49.754678 [ 17871 ] {58c410e9-9b27-4aab-ad8f-17f2e5c54389} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 1, should be 2: While processing visitParamExtractRaw(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.779050 [ 17871 ] {ddd0077a-aa8b-48b0-8977-715022fb4029} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractString doesn't match: passed 1, should be 2: While processing visitParamExtractString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT visitParamExtractString(NULL);) 2024.12.17 03:29:49.783157 [ 17871 ] {ddd0077a-aa8b-48b0-8977-715022fb4029} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractString doesn't match: passed 1, should be 2: While processing visitParamExtractString(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.808206 [ 17871 ] {c9bfd484-d91c-456e-a383-0918df3aab12} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractUInt doesn't match: passed 1, should be 2: While processing visitParamExtractUInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT visitParamExtractUInt(NULL);) 2024.12.17 03:29:49.812336 [ 17871 ] {c9bfd484-d91c-456e-a383-0918df3aab12} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractUInt doesn't match: passed 1, should be 2: While processing visitParamExtractUInt(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.835588 [ 17871 ] {d1264a1c-fcf3-4edb-85a3-1e97d5436b5f} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONHas doesn't match: passed 1, should be 2: While processing visitParamHas(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT visitParamHas(NULL);) 2024.12.17 03:29:49.838938 [ 17871 ] {d1264a1c-fcf3-4edb-85a3-1e97d5436b5f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONHas doesn't match: passed 1, should be 2: While processing visitParamHas(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.964100 [ 17871 ] {e445d24c-3e03-4497-955b-6db5d493135d} executeQuery: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT widthBucket(NULL);) 2024.12.17 03:29:49.967945 [ 17871 ] {e445d24c-3e03-4497-955b-6db5d493135d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:49.993436 [ 17871 ] {aa85c4aa-4f0d-451c-8c1d-9d7cdc00f68b} executeQuery: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT width_bucket(NULL);) 2024.12.17 03:29:49.997685 [ 17871 ] {aa85c4aa-4f0d-451c-8c1d-9d7cdc00f68b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:50.202101 [ 9399 ] {71e175d0-2090-45c4-a0ab-852a646a1b21} executeQuery: Code: 43. DB::Exception: First argument and elements of array of the second argument of function transform must have compatible types: While processing transform(tuple(1), ['sdf'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45766) (comment: 00153_transform.sql) (in query: SELECT transform(tuple(1), ['sdf'], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ac02b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:50.205800 [ 9399 ] {71e175d0-2090-45c4-a0ab-852a646a1b21} TCPHandler: Code: 43. DB::Exception: First argument and elements of array of the second argument of function transform must have compatible types: While processing transform(tuple(1), ['sdf'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001d3ac02b in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093c4176 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093be8df in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352c7e2d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352c72ca in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352c8f2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d5435 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 03:29:51.019649 [ 17871 ] {61b90c67-77bd-413b-ac92-44fddf4ca14e} executeQuery: Code: 42. DB::Exception: Number of arguments for function kostikConsistentHash doesn't match: passed 1, should be 2: While processing yandexConsistentHash(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT yandexConsistentHash(NULL);) 2024.12.17 03:29:51.023988 [ 17871 ] {61b90c67-77bd-413b-ac92-44fddf4ca14e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function kostikConsistentHash doesn't match: passed 1, should be 2: While processing yandexConsistentHash(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:51.093708 [ 17871 ] {12fee69d-bec4-497a-a4ce-10f3816e2194} executeQuery: Code: 42. DB::Exception: Number of arguments for function yesterday doesn't match: passed 1, should be 0: While processing yesterday(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT yesterday(NULL);) 2024.12.17 03:29:51.097268 [ 17871 ] {12fee69d-bec4-497a-a4ce-10f3816e2194} TCPHandler: Code: 42. DB::Exception: Number of arguments for function yesterday doesn't match: passed 1, should be 0: While processing yesterday(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:29:51.119610 [ 17871 ] {015ab2b6-1cdb-48ee-9aa6-77eeab0e8e3d} executeQuery: Code: 42. DB::Exception: Number of arguments for function zookeeperSessionUptime doesn't match: passed 1, should be 0: While processing zookeeperSessionUptime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44296) (comment: 00534_functions_bad_arguments3.sh) (in query: SELECT zookeeperSessionUptime(NULL);) 2024.12.17 03:29:51.123041 [ 17871 ] {015ab2b6-1cdb-48ee-9aa6-77eeab0e8e3d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function zookeeperSessionUptime doesn't match: passed 1, should be 0: While processing zookeeperSessionUptime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) 2024.12.17 03:30:00.283435 [ 29466 ] {09e2ac4e-7027-4d77-ac84-a3709fae1af8} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47846) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:00.292285 [ 29466 ] {09e2ac4e-7027-4d77-ac84-a3709fae1af8} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:00.974676 [ 16564 ] {d147fc6d-7736-44d8-8ca7-8a308c318128} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47866) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:00.981757 [ 16564 ] {d147fc6d-7736-44d8-8ca7-8a308c318128} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:01.870297 [ 9424 ] {3a649aa1-59b2-40c7-ad90-9dd1b3f2f58a} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47870) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:01.875842 [ 9424 ] {3a649aa1-59b2-40c7-ad90-9dd1b3f2f58a} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:02.675234 [ 9424 ] {b7c377b0-180c-4413-97bf-7c7dd6acef5e} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47886) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:02.683060 [ 9424 ] {b7c377b0-180c-4413-97bf-7c7dd6acef5e} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:03.464601 [ 9424 ] {0e814470-73fd-41d7-95f1-4735045d5850} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57272) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:03.471803 [ 9424 ] {0e814470-73fd-41d7-95f1-4735045d5850} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:04.280107 [ 16575 ] {2d33c453-92df-4a97-826f-bfa5fbfb9b95} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57274) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:04.289039 [ 16575 ] {2d33c453-92df-4a97-826f-bfa5fbfb9b95} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:05.112585 [ 16575 ] {b4e4fe59-dda3-4531-bd6d-bba268cf890a} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57288) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:05.121340 [ 16575 ] {b4e4fe59-dda3-4531-bd6d-bba268cf890a} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:06.002177 [ 16671 ] {3285a7b8-2d10-4930-b972-bf20190c9a9c} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57292) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:06.008267 [ 16671 ] {3285a7b8-2d10-4930-b972-bf20190c9a9c} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:06.834761 [ 7430 ] {ef87e8e2-1382-4e9a-b818-b6ed1f64170e} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57318) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:06.841891 [ 7430 ] {ef87e8e2-1382-4e9a-b818-b6ed1f64170e} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:07.752539 [ 9398 ] {05a67552-c6c5-4329-915f-4b9d240fba67} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57342) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:07.762409 [ 9398 ] {05a67552-c6c5-4329-915f-4b9d240fba67} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x00000000094a0777 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000017f4c389 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184b7954 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x00000000184ae98a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x00000000184abefc in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x00000000184a3e02 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000184a01f4 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001849d625 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:08.174448 [ 7430 ] {3035c7b9-ffd0-4a0b-967a-610a23a6c92d} executeQuery: Code: 116. DB::Exception: Select query is not allowed in columns DEFAULT expression. (THERE_IS_NO_DEFAULT_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57326) (comment: 00079_defaulted_columns.sql) (in query: create table defaulted (col1 Int8, col2 UInt64 default (SELECT dummy+99 from system.one)) engine=Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [58]) @ 0x000000000c5b9437 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ColumnsDescription.cpp:842: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b97069b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ac4b2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:08.178954 [ 7430 ] {3035c7b9-ffd0-4a0b-967a-610a23a6c92d} TCPHandler: Code: 116. DB::Exception: Select query is not allowed in columns DEFAULT expression. (THERE_IS_NO_DEFAULT_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [58]) @ 0x000000000c5b9437 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ColumnsDescription.cpp:842: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b97069b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000393ac4b2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b2cb4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:14.748555 [ 16574 ] {383887e5-fdee-428d-9891-c21cfda8536d} executeQuery: Code: 42. DB::Exception: ARRAY JOIN requires an argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59612) (comment: 00011_array_join_alias.sql) (in query: SELECT x, a FROM (SELECT arrayJoin(['Hello', 'Goodbye']) AS x, [1, 2, 3] AS arr) ARRAY JOIN;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a7025ab in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:30:14.751177 [ 16574 ] {383887e5-fdee-428d-9891-c21cfda8536d} TCPHandler: Code: 42. DB::Exception: ARRAY JOIN requires an argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a7025ab in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.192168 [ 29473 ] {026cd3cb-f81c-4009-b9d9-5d23f018d72e} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_set does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50726) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_set ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.194745 [ 29473 ] {026cd3cb-f81c-4009-b9d9-5d23f018d72e} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_set does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.223043 [ 29473 ] {b832d6bb-808a-4b47-a00a-a6b97fad8568} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_memory does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50726) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_memory ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.225115 [ 29473 ] {b832d6bb-808a-4b47-a00a-a6b97fad8568} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_memory does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.250672 [ 29473 ] {bc4ef46e-5f91-4426-8ccf-48450a029efa} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_log does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50726) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_log ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.253426 [ 29473 ] {bc4ef46e-5f91-4426-8ccf-48450a029efa} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_log does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.278222 [ 29473 ] {35e32262-7600-4de1-809d-ab73f3f58040} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_tiny_log does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50726) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_tiny_log ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.280674 [ 29473 ] {35e32262-7600-4de1-809d-ab73f3f58040} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_tiny_log does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.302836 [ 29473 ] {bf290e8a-1611-4c92-ad53-2684a1fab789} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_stripe_log does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50726) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_stripe_log ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.305149 [ 29473 ] {bf290e8a-1611-4c92-ad53-2684a1fab789} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_stripe_log does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.331488 [ 29473 ] {dbe871d4-95bb-43fc-bd67-a12a20e02fdb} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_merge_tree does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50726) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_merge_tree ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.333747 [ 29473 ] {dbe871d4-95bb-43fc-bd67-a12a20e02fdb} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_merge_tree does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.516717 [ 29473 ] {c93d27dc-9802-4361-87f7-95b2742b2d6a} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_dictionary does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50726) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_dictionary;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:07.519100 [ 29473 ] {c93d27dc-9802-4361-87f7-95b2742b2d6a} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_dictionary does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:17.072096 [ 29473 ] {1e86615a-b27c-4d26-a60d-94c5990b4884} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/filesystem_caches/02810_system_sync_filesystem_cache_test_sh7zjqwf/f96/f965335379da0b3fea8e2931d6aa3de4/0, errno: 2, strerror: No such file or directory: Cache info: Buffer path: common/xaj/obanyqsraxgagqxvxjlpwaxonpzsn, hash key: f965335379da0b3fea8e2931d6aa3de4, file_offset_of_buffer_end: 0, read_until_position: 61, internal buffer end: None, read_type: CACHED, last caller: 1e86615a-b27c-4d26-a60d-94c5990b4884:3802, file segment info: File segment: [0, 60], key: f965335379da0b3fea8e2931d6aa3de4, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: 1e86615a-b27c-4d26-a60d-94c5990b4884:3802, kind: Regular, unbound: 0: (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5b0/5b02eb7d-4e03-4bb7-8f9d-4e588be60286/all_1_1_0/ in table test_sh7zjqwf.test (5b02eb7d-4e03-4bb7-8f9d-4e588be60286) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1): While executing MergeTreeInOrder. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45018) (comment: 02810_system_sync_filesystem_cache.sh) (in query: SELECT * FROM test FORMAT Null SETTINGS enable_filesystem_cache_log = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::OpenedFile::open() const @ 0x0000000035362926 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/OpenedFile.cpp:0: DB::OpenedFile::getFD() const @ 0x0000000035362a5e in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBufferFromFile.h:0: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x00000000353377c2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_0::operator()(unsigned long, unsigned long, int) const @ 0x0000000035335a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/createReadBufferFromFileBase.cpp:216: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x0000000035335670 in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::getCacheReadBuffer(DB::FileSegment const&) @ 0x00000000357a36e1 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:311: DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) @ 0x00000000357a7e1c in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) @ 0x00000000357a9710 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357b82cb in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x00000000357b7b13 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035799592 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x00000000357976fa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/tuple:533: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x000000003578ed30 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x00000000368a8306 in /usr/bin/clickhouse 18. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x00000000368ad0ab in /usr/bin/clickhouse 19. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x00000000368ae26d in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036fac8d3 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d4759a1 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d47375b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d503ecb in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d5273f3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d520360 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 2024.12.17 03:32:17.077769 [ 29473 ] {1e86615a-b27c-4d26-a60d-94c5990b4884} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/filesystem_caches/02810_system_sync_filesystem_cache_test_sh7zjqwf/f96/f965335379da0b3fea8e2931d6aa3de4/0, errno: 2, strerror: No such file or directory: Cache info: Buffer path: common/xaj/obanyqsraxgagqxvxjlpwaxonpzsn, hash key: f965335379da0b3fea8e2931d6aa3de4, file_offset_of_buffer_end: 0, read_until_position: 61, internal buffer end: None, read_type: CACHED, last caller: 1e86615a-b27c-4d26-a60d-94c5990b4884:3802, file segment info: File segment: [0, 60], key: f965335379da0b3fea8e2931d6aa3de4, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: 1e86615a-b27c-4d26-a60d-94c5990b4884:3802, kind: Regular, unbound: 0: (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5b0/5b02eb7d-4e03-4bb7-8f9d-4e588be60286/all_1_1_0/ in table test_sh7zjqwf.test (5b02eb7d-4e03-4bb7-8f9d-4e588be60286) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1): While executing MergeTreeInOrder. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::OpenedFile::open() const @ 0x0000000035362926 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/OpenedFile.cpp:0: DB::OpenedFile::getFD() const @ 0x0000000035362a5e in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBufferFromFile.h:0: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x00000000353377c2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_0::operator()(unsigned long, unsigned long, int) const @ 0x0000000035335a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/createReadBufferFromFileBase.cpp:216: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x0000000035335670 in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::getCacheReadBuffer(DB::FileSegment const&) @ 0x00000000357a36e1 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:311: DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) @ 0x00000000357a7e1c in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) @ 0x00000000357a9710 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357b82cb in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x00000000357b7b13 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035799592 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x00000000357976fa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/tuple:533: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x000000003578ed30 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x00000000368a8306 in /usr/bin/clickhouse 18. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x00000000368ad0ab in /usr/bin/clickhouse 19. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x00000000368ae26d in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036fac8d3 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d4759a1 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d47375b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d503ecb in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d5273f3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d520360 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4f2ac0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4f49b7 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4e9fc2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f238a0b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 2024.12.17 03:32:17.451949 [ 29473 ] {1914a663-62b7-4539-b924-2cee261369e7} CacheMetadata: File segment has DOWNLOADED state, but file does not exist (File segment: [0, 60], key: f965335379da0b3fea8e2931d6aa3de4, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: 1914a663-62b7-4539-b924-2cee261369e7:29473, kind: Regular, unbound: 0) 2024.12.17 03:32:19.591062 [ 29473 ] {7c587755-f34c-404a-a22f-2585862b8900} CacheMetadata: File segment has unexpected size. Having 3, expected 61 (File segment: [0, 60], key: f965335379da0b3fea8e2931d6aa3de4, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: 7c587755-f34c-404a-a22f-2585862b8900:29473, kind: Regular, unbound: 0) 2024.12.17 03:32:21.572255 [ 16645 ] {b908df14-e5bc-4571-ba92-c2f70a8d96e7} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from CSV format file, because there are no files with provided path. You must specify table structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45106) (comment: 02771_complex_globs_in_storage_file_path.sql) (in query: SELECT *, _file FROM file('02771/dir{?/subdir?1/da,2/subdir2?/da}ta/non_existing.csv', CSV);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc26461 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:21.575222 [ 16645 ] {b908df14-e5bc-4571-ba92-c2f70a8d96e7} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from CSV format file, because there are no files with provided path. You must specify table structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc26461 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc2f6c6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x0000000034a3859a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000034a31ce4 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034a3e0e8 in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 27. ? @ 0x00007fe21c2faac3 in ? 28. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:24.282172 [ 4368 ] {f7a8a4e0-03e9-4ebe-b961-9ee47d81c696} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_hsnrnq4c.t_async_inserts_flush FORMAT JSONEachRow' with query id 699b06dc-f740-4953-911e-534d330bcd20. DB::ParsingException: Cannot parse input: expected '"' before: 'str"}': (while reading the value of key a): (at row 1) 2024.12.17 03:32:51.513965 [ 16645 ] {f5ce9599-c968-4503-8604-e1dedad22164} executeQuery: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'SELECT y >= 20, xx, yy FROM `02703_db`.`02703_unexpected_columns`', required columns: 'xx' 'yy' 'y', maybe you meant: 'xx' or 'yy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47008) (comment: 02703_row_policies_for_database_combination.sql) (in query: SELECT * FROM 02703_db.02703_unexpected_columns;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:171: DB::generateFilterActions(DB::StorageID const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::vector>&, std::shared_ptr) @ 0x0000000039b19a55 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:32:51.517329 [ 16645 ] {f5ce9599-c968-4503-8604-e1dedad22164} TCPHandler: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'SELECT y >= 20, xx, yy FROM `02703_db`.`02703_unexpected_columns`', required columns: 'xx' 'yy' 'y', maybe you meant: 'xx' or 'yy'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:171: DB::generateFilterActions(DB::StorageID const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::vector>&, std::shared_ptr) @ 0x0000000039b19a55 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:03.853012 [ 29473 ] {ea4468ef-d91e-42d9-bcd8-cb713064781d} executeQuery: Code: 53. DB::Exception: CAST AS Tuple can only be performed between tuple types or from String. Left type: Map(String, Nullable(Int64)), right type: Tuple(a UInt32, b UInt32): while converting source column x to destination column x. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34632) (comment: 02536_hdfs_cluster_use_structure_from_table.sql) (in query: insert into test select * from hdfsCluster('test_cluster_two_shards_localhost', 'hdfs://localhost:12222/test_02536.jsonl') settings use_structure_from_insertion_table_in_table_functions=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const @ 0x0000000009424a72 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x0000000009419739 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000094120c2 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000940b480 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000009409a5f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037513002 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:03.856678 [ 29473 ] {ea4468ef-d91e-42d9-bcd8-cb713064781d} TCPHandler: Code: 53. DB::Exception: CAST AS Tuple can only be performed between tuple types or from String. Left type: Map(String, Nullable(Int64)), right type: Tuple(a UInt32, b UInt32): while converting source column x to destination column x. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const @ 0x0000000009424a72 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x0000000009419739 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000094120c2 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000940b480 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000009409a5f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d7b0e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037513002 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:27.413113 [ 8849 ] {c23253f1-ff42-4d02-93e1-645f246adf02} executeQuery: Code: 46. DB::Exception: Function with name 'plu' does not exists. In scope SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['plus']. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42120) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:27.417345 [ 8849 ] {c23253f1-ff42-4d02-93e1-645f246adf02} TCPHandler: Code: 46. DB::Exception: Function with name 'plu' does not exists. In scope SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['plus']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:28.029381 [ 8849 ] {aaf68bd3-a3b4-41ea-b89a-6cea98bbdd0f} executeQuery: Code: 46. DB::Exception: Function with name 'uniqExac' does not exists. In scope SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['uniqExact']. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42132) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:28.032996 [ 8849 ] {aaf68bd3-a3b4-41ea-b89a-6cea98bbdd0f} TCPHandler: Code: 46. DB::Exception: Function with name 'uniqExac' does not exists. In scope SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['uniqExact']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:29.581914 [ 8849 ] {11599dc7-9dba-4714-a2ba-ff9afca2731c} executeQuery: Code: 46. DB::Exception: Function with name 'test_user_defined_functio' does not exists. In scope SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_user_defined_function']. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42176) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:29.585841 [ 8849 ] {11599dc7-9dba-4714-a2ba-ff9afca2731c} TCPHandler: Code: 46. DB::Exception: Function with name 'test_user_defined_functio' does not exists. In scope SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_user_defined_function']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:30.626616 [ 8849 ] {9cc4bd4b-46d7-4efb-9e1b-344bf9b55a67} executeQuery: Code: 46. DB::Exception: Function with name 'lambda_functio' does not exists. In scope WITH x -> (x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['lambda_function']. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42196) (comment: 02477_analyzer_function_hints.sh) (in query: WITH (x -> x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:30.630156 [ 8849 ] {9cc4bd4b-46d7-4efb-9e1b-344bf9b55a67} TCPHandler: Code: 46. DB::Exception: Function with name 'lambda_functio' does not exists. In scope WITH x -> (x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['lambda_function']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5064: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397abc79 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:31.315624 [ 8849 ] {b3554149-4a37-43a5-8984-a660c36d00f9} executeQuery: Code: 63. DB::Exception: Aggregate function with name 'row_numbe' does not exists. In scope SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['row_number']. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42202) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5000: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397aaab8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:33:31.319032 [ 8849 ] {b3554149-4a37-43a5-8984-a660c36d00f9} TCPHandler: Code: 63. DB::Exception: Aggregate function with name 'row_numbe' does not exists. In scope SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['row_number']. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x000000002c449b5e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5000: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397aaab8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000003974bba0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:03.495402 [ 29473 ] {ceab3a7c-06d6-47f1-bc2b-c93b28515511} executeQuery: Code: 44. DB::Exception: Cannot insert BSON Null value into non-nullable column with type UInt32: While executing BSONEachRowRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47620) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'null UInt32') settings input_format_null_as_default=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:494: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3fa2a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:03.503293 [ 29473 ] {ceab3a7c-06d6-47f1-bc2b-c93b28515511} TCPHandler: Code: 44. DB::Exception: Cannot insert BSON Null value into non-nullable column with type UInt32: While executing BSONEachRowRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:494: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3fa2a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:12.831281 [ 29473 ] {e66c0cbe-d44f-45e2-823a-2af0839a6ae2} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60060) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(x UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000003e4214c9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:418: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e404a68 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:12.837699 [ 29473 ] {e66c0cbe-d44f-45e2-823a-2af0839a6ae2} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000003e4214c9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:418: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e404a68 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:13.464585 [ 29473 ] {ea2bb08f-bd9a-48ba-a801-f475c5013a81} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64, b String) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45236) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(x UInt64, b String)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000003e4214c9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:418: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e404a68 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:13.471825 [ 29473 ] {ea2bb08f-bd9a-48ba-a801-f475c5013a81} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64, b String) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000003e4214c9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:418: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e404a68 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:17.841351 [ 29473 ] {f754d59e-4d44-46be-9ad7-548e0841ce4c} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64) from BSON array/embedded document field: the number of fields BSON document exceeds the number of fields in tuple: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45276) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:428: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e4047e1 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:17.851575 [ 29473 ] {f754d59e-4d44-46be-9ad7-548e0841ce4c} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64) from BSON array/embedded document field: the number of fields BSON document exceeds the number of fields in tuple: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:428: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e4047e1 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:18.933842 [ 29473 ] {5883381d-7b99-41d9-8aca-32f60e247ec6} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64, String, UInt64) from BSON array/embedded document field, the number of fields in tuple and BSON document doesn't match: 3 != 2: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45292) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(UInt64, String, UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, unsigned long&) @ 0x000000000ae554d0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:441: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e4050e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:18.941894 [ 29473 ] {5883381d-7b99-41d9-8aca-32f60e247ec6} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64, String, UInt64) from BSON array/embedded document field, the number of fields in tuple and BSON document doesn't match: 3 != 2: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, unsigned long&) @ 0x000000000ae554d0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:441: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e4050e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1c8a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:35.922034 [ 29473 ] {04fe3a02-814e-48c7-97ba-e4892470c8aa} executeQuery: Code: 53. DB::Exception: Automatically defined type String for column 'x' in row 8 differs from type defined by previous rows: Int64. You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34628) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000003e437b88 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:183: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000003e436b4c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e431439 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:35.925576 [ 29473 ] {04fe3a02-814e-48c7-97ba-e4892470c8aa} TCPHandler: Code: 53. DB::Exception: Automatically defined type String for column 'x' in row 8 differs from type defined by previous rows: Int64. You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000003e437b88 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:183: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000003e436b4c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e431439 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:41.674372 [ 29473 ] {b8ea0bb1-9812-4571-956f-a043e78e549b} executeQuery: Code: 53. DB::Exception: Automatically defined type Array(String) for column 'x' in row 8 differs from type defined by previous rows: Array(Int64). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34690) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000003e437b88 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:183: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000003e436b4c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e431439 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:41.678076 [ 29473 ] {b8ea0bb1-9812-4571-956f-a043e78e549b} TCPHandler: Code: 53. DB::Exception: Automatically defined type Array(String) for column 'x' in row 8 differs from type defined by previous rows: Array(Int64). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000003e437b88 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:183: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000003e436b4c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e431439 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:42.926617 [ 29473 ] {791183df-1c40-493b-8572-01372862b95e} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34714) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:42.930317 [ 29473 ] {791183df-1c40-493b-8572-01372862b95e} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:44.240295 [ 29473 ] {401cca2a-718d-4601-9a9e-021bc5e5d7f2} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44186) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:44.243979 [ 29473 ] {401cca2a-718d-4601-9a9e-021bc5e5d7f2} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:45.530189 [ 29473 ] {3216460e-2d9a-413a-89e1-23ddad50e11a} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44206) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:45.533826 [ 29473 ] {3216460e-2d9a-413a-89e1-23ddad50e11a} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x0000000029b28ded in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000003e427a29 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:340: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e4326a6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:47.505929 [ 29473 ] {79313d43-6596-4381-b8fb-724575d03791} executeQuery: Code: 53. DB::Exception: Automatically defined type Array(Int32) for column 'x' in row 2 differs from type defined by previous rows: Tuple(Int32, String). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44236) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000003e437b88 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:183: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000003e436b4c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e431439 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:47.509904 [ 29473 ] {79313d43-6596-4381-b8fb-724575d03791} TCPHandler: Code: 53. DB::Exception: Automatically defined type Array(Int32) for column 'x' in row 2 differs from type defined by previous rows: Tuple(Int32, String). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000003e437b88 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:183: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000003e436b4c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000003e431439 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17ae34 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:50.614326 [ 29473 ] {52da4373-5112-40a5-9cd7-252a7a41f705} executeQuery: Code: 117. DB::Exception: Cannot parse value of type Int128, size of binary data is not equal to the binary size of expected value: 5 != 16: (in file/uri /var/lib/clickhouse/user_files/data.bsonEachRow): (at row 4) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44264) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(data.bsonEachRow, auto, 'number UInt64, int Int128, arr Array(UInt64)') settings input_format_allow_errors_num=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x000000001ca61070 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:217: void DB::readAndInsertBigInteger>>(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e408ff4 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:34:50.621825 [ 29473 ] {52da4373-5112-40a5-9cd7-252a7a41f705} TCPHandler: Code: 117. DB::Exception: Cannot parse value of type Int128, size of binary data is not equal to the binary size of expected value: 5 != 16: (in file/uri /var/lib/clickhouse/user_files/data.bsonEachRow): (at row 4) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x000000001ca61070 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:217: void DB::readAndInsertBigInteger>>(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e408ff4 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000003e3f1ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e415e1b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3c3eec in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000003bc655a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:41.868680 [ 8849 ] {2695b629-c736-4299-b94a-bde4692fa01f} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59508) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000039864ee2 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039752956 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:41.870973 [ 8849 ] {2695b629-c736-4299-b94a-bde4692fa01f} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x0000000039864ee2 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039752956 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x0000000039748acd in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000397653ca in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000003972ef08 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:42.211058 [ 8849 ] {9629ff1d-b9d0-47a5-b6f3-5fc44657dd4e} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59508) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_unknown_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5946: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737a40 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:42.212995 [ 8849 ] {9629ff1d-b9d0-47a5-b6f3-5fc44657dd4e} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfd07f5 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5946: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000039737a40 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x0000000039726534 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000003971af8b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000039c4fb76 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x0000000039c4b3c5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3ab4e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:56.853058 [ 8849 ] {75a2d9ae-0e2e-4204-9247-33259bbd00f1} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54822) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:56.855728 [ 8849 ] {75a2d9ae-0e2e-4204-9247-33259bbd00f1} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:57.479236 [ 8849 ] {1f593ab3-0b54-46d7-8b2c-ea33252d4830} executeQuery: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54838) (in query: select * from file('data.capnp', 'CapnProto', 'val1 char') settings format_schema='nonexist:Message'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:47: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000003e545386 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000003e53e571 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000003e543c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000], DB::FormatSettings const&, void>(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000003e54375a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000003e5421e6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000003e1219d5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:3778: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x00000000378f425c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x000000003bc64a5d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:57.484366 [ 8849 ] {1f593ab3-0b54-46d7-8b2c-ea33252d4830} TCPHandler: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:47: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000003e545386 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000003e53e571 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000003e543c03 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000], DB::FormatSettings const&, void>(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000003e54375a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000003e5421e6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000003e1219d5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:3778: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x00000000378f425c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x000000003bc64a5d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:58.314225 [ 8849 ] {6bfb4832-2ba3-4c8f-9b37-8426b0a68ada} executeQuery: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54846) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: desc file(data.pb) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000003e844a1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000003e83a592 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000003ea2c30c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:58.319469 [ 8849 ] {6bfb4832-2ba3-4c8f-9b37-8426b0a68ada} TCPHandler: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000003e844a1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000003e83a592 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000003ea2c30c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:59.319376 [ 8849 ] {ca8f5b70-381a-4e66-a577-e6f8e3cad830} executeQuery: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54850) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: desc file(data.capnp) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:0: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000003e551a97 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000003e54bed4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000003e54130e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:37:59.324256 [ 8849 ] {ca8f5b70-381a-4e66-a577-e6f8e3cad830} TCPHandler: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:0: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000003e551a97 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000003e54bed4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000003e54130e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000034a332a4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x0000000039a7da8b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:00.470697 [ 8849 ] {fba3b6f7-831d-4fe7-8bcd-3a93dfa3c394} executeQuery: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54864) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: create table test_protobuf engine=File(Protobuf) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000003e844a1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000003e83a592 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000003ea2c30c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc323df in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000003bc79d52 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc56ce4 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:00.474903 [ 8849 ] {fba3b6f7-831d-4fe7-8bcd-3a93dfa3c394} TCPHandler: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000003e844a1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000003e83a592 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000003ea2c30c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc323df in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000003bc79d52 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc56ce4 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:01.651363 [ 8849 ] {aba44535-ecbf-44db-86ca-715c5ce68ae0} executeQuery: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54876) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: create table test_capnp engine=File(CapnProto) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:0: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000003e551a97 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000003e54bed4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000003e54130e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc323df in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000003bc79d52 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc56ce4 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:01.655529 [ 8849 ] {aba44535-ecbf-44db-86ca-715c5ce68ae0} TCPHandler: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000943ab97 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:0: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000003e551a97 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000003e54bed4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000003e54130e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000003e17a0ab in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000003e180fd7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000003bc1f3b9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000003bc2cfdf in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000003bc323df in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000003bc79d52 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bc56ce4 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:08.578865 [ 42332 ] {e5583cfe-5ad9-4bbc-8c43-5ebaa6f5e144} executeQuery: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60268) (comment: 02302_s3_file_pruning.sql) (in query: select * from test_02302;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000ae608d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageS3.cpp:1066: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3385db in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:08.581320 [ 42332 ] {e5583cfe-5ad9-4bbc-8c43-5ebaa6f5e144} TCPHandler: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000ae608d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageS3.cpp:1066: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003c3385db in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:13.204747 [ 42332 ] {c24e8d71-22b7-481d-ad1e-24ec8bb0cf9c} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60298) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:13.207178 [ 42332 ] {c24e8d71-22b7-481d-ad1e-24ec8bb0cf9c} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:33.021033 [ 29473 ] {3f43acfa-089d-48b8-994b-b90fefce2709} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37408) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:33.023470 [ 29473 ] {3f43acfa-089d-48b8-994b-b90fefce2709} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:40.512449 [ 8849 ] {94d2e372-b70e-4ff2-8746-26da51598583} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37896) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:38:40.514994 [ 8849 ] {94d2e372-b70e-4ff2-8746-26da51598583} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:39:51.310080 [ 42332 ] {b6de9105-0155-4baa-be83-edfac9517ad1} executeQuery: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 10:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40412) (comment: 02246_async_insert_quota.sh) (in query: INSERT INTO async_inserts_02246 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x0000000035c18388 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x0000000035c1765a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__chrono/duration.h:275: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x0000000035c16578 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/shared_ptr.hpp:336: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x0000000035c1253d in /usr/bin/clickhouse 6. ./build_docker/./src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x0000000035c1240c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99e56b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:39:51.313831 [ 42332 ] {b6de9105-0155-4baa-be83-edfac9517ad1} TCPHandler: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 10:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x0000000035c18388 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x0000000035c1765a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__chrono/duration.h:275: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x0000000035c16578 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/shared_ptr.hpp:336: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x0000000035c1253d in /usr/bin/clickhouse 6. ./build_docker/./src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x0000000035c1240c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a99e56b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:12.695214 [ 29473 ] {} TCPHandler: Code: 492. DB::Exception: ID(334d38ad-d298-6c0a-6abf-0862a8dc9e86) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:675: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000035c982a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000035d442bb in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:230: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000034d952b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000035af0493 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000035a69d27 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:740: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000035a61b67 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1246: DB::Context::getAccess() const @ 0x000000003789a1d2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x000000003a1d0cd1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x000000003a1d3a7c in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000003e0ddecb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0be47e in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:13.209331 [ 43459 ] {} TCPHandler: Code: 492. DB::Exception: ID(294aff9e-ad26-f653-599e-614c755966bc) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:675: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000035c982a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000035d442bb in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:230: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000034d952b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000035af0493 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000035a69d27 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:740: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000035a61b67 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1246: DB::Context::getAccess() const @ 0x000000003789a1d2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x000000003a1d0cd1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x000000003a1d3a7c in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000003e0ddecb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0be47e in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:14.161260 [ 8849 ] {} TCPHandler: Code: 492. DB::Exception: ID(64490177-a378-a8e8-b3bd-6e4988cc7c9b) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:675: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000035c982a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000035d442bb in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:230: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000034d952b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000035af0493 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000035a69d27 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:740: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000035a61b67 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1246: DB::Context::getAccess() const @ 0x000000003789a1d2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x000000003a1d0cd1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x000000003a1d3a7c in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000003e0ddecb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0be47e in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:15.388371 [ 29473 ] {ea2c33ef-1303-47ba-97ba-a08d6cd4740d} executeQuery: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51734) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO kek_02243), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:834: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000035b04730 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000035b0508e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5f7c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:15.391446 [ 29473 ] {ea2c33ef-1303-47ba-97ba-a08d6cd4740d} TCPHandler: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:834: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000035b04730 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000035b0508e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5f7c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:15.852820 [ 8849 ] {719d8e3d-5a81-4aa0-9816-0d9327311422} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51752) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/RolesOrUsersSet.cpp:81: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000035dec414 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000035dea876 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000035debddc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:414: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5accd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:15.856444 [ 8849 ] {719d8e3d-5a81-4aa0-9816-0d9327311422} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/RolesOrUsersSet.cpp:81: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000035dec414 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000035dea876 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000035debddc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:414: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5accd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:16.378418 [ 29473 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:527: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c45 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:40:16.380187 [ 29473 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:40:16.941544 [ 8849 ] {89acfa89-57a9-4ff0-873b-d84c34901118} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51800) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/RolesOrUsersSet.cpp:81: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000035dec414 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000035dea876 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000035debddc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:414: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5accd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:16.945067 [ 8849 ] {89acfa89-57a9-4ff0-873b-d84c34901118} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/RolesOrUsersSet.cpp:81: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000035dec414 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000035dea876 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000035debddc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:414: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5accd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:17.451791 [ 43459 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:527: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91c45 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035c91859 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000035d4823b in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000035c91791 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a60d20 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:40:17.453832 [ 43459 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000035a613b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c70a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000003a1c5e26 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000003e0ba267 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a45e6 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:40:18.501807 [ 29473 ] {} TCPHandler: Code: 492. DB::Exception: ID(0a4557e3-c4c5-3857-11d9-8704c421d4bb) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:675: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000035c982a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000035d442bb in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:230: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000034d952b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000035af0493 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000035a69d27 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:740: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000035a61b67 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1246: DB::Context::getAccess() const @ 0x000000003789a1d2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x000000003a1d0cd1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x000000003a1d3a7c in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000003e0ddecb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0be47e in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:19.517056 [ 29473 ] {} TCPHandler: Code: 492. DB::Exception: ID(f14bcae5-2437-363a-8ed4-45e5d453c58f) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:675: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000035c982a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000035d442bb in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:230: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000034d952b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000035af0493 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000035a69d27 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:740: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000035a61b67 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1246: DB::Context::getAccess() const @ 0x000000003789a1d2 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x000000003a1d0cd1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x000000003a1d3a7c in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000003e0ddecb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0be47e in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a582e in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:20.804227 [ 43459 ] {44017c38-839e-4a83-aaba-40c5e8647062} executeQuery: Code: 192. DB::Exception: test_user_02243: User has been dropped. (UNKNOWN_USER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51900) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO kek_02243), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:498: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b9e41c in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b8432b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGrantOption(DB::AccessRightsElements const&) const @ 0x0000000035b03a18 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5c310 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:20.808964 [ 43459 ] {44017c38-839e-4a83-aaba-40c5e8647062} TCPHandler: Code: 192. DB::Exception: test_user_02243: User has been dropped. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:498: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b9e41c in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000035b8432b in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGrantOption(DB::AccessRightsElements const&) const @ 0x0000000035b03a18 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5c310 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:20.935313 [ 8849 ] {aec29bf7-75b8-4d7f-9349-7705e7e82279} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51914) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/RolesOrUsersSet.cpp:81: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000035dec414 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000035dea876 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000035debddc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:414: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5accd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:20.938977 [ 8849 ] {aec29bf7-75b8-4d7f-9349-7705e7e82279} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/RolesOrUsersSet.cpp:81: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000035dec414 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000035dea876 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000035debddc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:414: DB::InterpreterGrantQuery::execute() @ 0x000000003ab5accd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:21.072652 [ 8849 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:51914). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:40:21.866664 [ 8849 ] {e5cc9c84-1533-499b-88e4-a583eada96ba} executeQuery: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(n) ON test_hchehkry.test. (ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51922) (comment: 02243_drop_user_grant_race.sh) (in query: SELECT * FROM test), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b81cd6 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x0000000035b7f6e7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:703: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x0000000035b021d2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x000000003790f5d4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x000000003789ea03 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2d666 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:21.870903 [ 8849 ] {e5cc9c84-1533-499b-88e4-a583eada96ba} TCPHandler: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(n) ON test_hchehkry.test. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b81cd6 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x0000000035b7f6e7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:703: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x0000000035b021d2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x000000003790f5d4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x000000003789ea03 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2d666 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 23. ? @ 0x00007fe21c2faac3 in ? 24. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:32.841243 [ 8849 ] {1cc8459d-c04e-4b10-82aa-8457826d64d7} executeQuery: Code: 497. DB::Exception: user_test_02184: Not enough privileges. To execute this query, it's necessary to have the grant URL ON *.*. (ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46642) (comment: 02184_table_engine_access.sh) (in query: CREATE TABLE t AS url), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b666f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b64311 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000035b00f26 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000003789cdf2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b1b98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:40:32.845459 [ 8849 ] {1cc8459d-c04e-4b10-82aa-8457826d64d7} TCPHandler: Code: 497. DB::Exception: user_test_02184: Not enough privileges. To execute this query, it's necessary to have the grant URL ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b666f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000035b64311 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000035b00f26 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000003789cdf2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x00000000393b1b98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393d2bc2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:19.628330 [ 43459 ] {154be35e-3a91-4db4-8545-f494b6151ffc} executeQuery: Code: 609. DB::Exception: User-defined function '02102_test_function' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55826) (comment: 02102_sql_user_defined_functions_create_if_not_exists.sql) (in query: CREATE FUNCTION 02102_test_function AS x -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000003f422fb1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateFunctionQuery::execute() @ 0x0000000039a95265 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:19.631401 [ 43459 ] {154be35e-3a91-4db4-8545-f494b6151ffc} TCPHandler: Code: 609. DB::Exception: User-defined function '02102_test_function' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000003f422fb1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterCreateFunctionQuery::execute() @ 0x0000000039a95265 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:21.718469 [ 43459 ] {9505a487-f6f1-4d0d-b789-9a8c86c38c78} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('.'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55830) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('.'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:21.721178 [ 43459 ] {9505a487-f6f1-4d0d-b789-9a8c86c38c78} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('.'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:21.749400 [ 43459 ] {e8e46d9a-e5af-4aea-8472-747c37ef8573} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55830) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:21.751436 [ 43459 ] {e8e46d9a-e5af-4aea-8472-747c37ef8573} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:21.780311 [ 43459 ] {6f3d43e8-f3eb-4e5f-a5b9-43d81b003977} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0a'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55830) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0a'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:21.782797 [ 43459 ] {6f3d43e8-f3eb-4e5f-a5b9-43d81b003977} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0a'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6f0db7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000003a6ff4ed in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b390c1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:22.205513 [ 43459 ] {6fa36546-ff39-410b-8cc2-7117368dbcfd} executeQuery: Code: 36. DB::Exception: Error while executing table function merge. Either there is no database, which matches regular expression `a`, or there are no tables in database matches `a`, which fit tables expression: ^$. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55830) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0a'), '^$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&) @ 0x00000000349d46de in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:31: DB::(anonymous namespace)::throwNoTablesMatchRegexp(String const&, String const&) @ 0x00000000349cf85a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:153: DB::TableFunctionMerge::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349d1032 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:0: DB::TableFunctionMerge::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349d16b6 in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:22.208121 [ 43459 ] {6fa36546-ff39-410b-8cc2-7117368dbcfd} TCPHandler: Code: 36. DB::Exception: Error while executing table function merge. Either there is no database, which matches regular expression `a`, or there are no tables in database matches `a`, which fit tables expression: ^$. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&) @ 0x00000000349d46de in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:31: DB::(anonymous namespace)::throwNoTablesMatchRegexp(String const&, String const&) @ 0x00000000349cf85a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:153: DB::TableFunctionMerge::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349d1032 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:0: DB::TableFunctionMerge::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349d16b6 in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:24.972653 [ 43459 ] {56c8a2b6-a58a-4a26-b3d9-301a5adfd8cb} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43454) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:24.974868 [ 43459 ] {56c8a2b6-a58a-4a26-b3d9-301a5adfd8cb} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:43.018231 [ 43459 ] {3a5f8eae-30ec-4c9c-a9a9-aa1612aea2a1} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34868) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:43.020530 [ 43459 ] {3a5f8eae-30ec-4c9c-a9a9-aa1612aea2a1} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:49.096681 [ 3378 ] {31b8f977-bef8-43ac-8f7e-e317f22e1ac7} ExternalDictionariesLoader: Could not load external dictionary '0112ed35-779b-4499-9855-26195d5ab09e', next update is scheduled at 2024-12-17 03:41:53: Code: 1. DB::Exception: test_26nkje2z.ip_trie_dictionary (0112ed35-779b-4499-9855-26195d5ab09e): array or nullable attributes not supported for dictionary of type Trie. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:343: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000002b2307ac in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x000000002b21eb65 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b29b25c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 7. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:41:49.103678 [ 29473 ] {31b8f977-bef8-43ac-8f7e-e317f22e1ac7} executeQuery: Code: 1. DB::Exception: test_26nkje2z.ip_trie_dictionary (0112ed35-779b-4499-9855-26195d5ab09e): array or nullable attributes not supported for dictionary of type Trie: While processing dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40704) (comment: 01904_dictionary_default_nullable_type.sql) (in query: SELECT dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0')));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:343: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000002b2307ac in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x000000002b21eb65 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b29b25c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 7. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:49.105947 [ 29473 ] {31b8f977-bef8-43ac-8f7e-e317f22e1ac7} TCPHandler: Code: 1. DB::Exception: test_26nkje2z.ip_trie_dictionary (0112ed35-779b-4499-9855-26195d5ab09e): array or nullable attributes not supported for dictionary of type Trie: While processing dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:343: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000002b2307ac in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x000000002b21eb65 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b29b25c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 7. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:53.149654 [ 43459 ] {b81858b8-801f-4cc5-9bf2-20db72b20bb8} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40718) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:53.152800 [ 43459 ] {b81858b8-801f-4cc5-9bf2-20db72b20bb8} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:55.313439 [ 29473 ] {0acd1202-aa70-4108-9b22-f97bd32b2446} executeQuery: Code: 489. DB::Exception: MIN first attribute is not defined in the dictionary attributes. (INCORRECT_DICTIONARY_DEFINITION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58354) (comment: 01854_dictionary_range_hashed_min_max_attr.sql) (in query: CREATE DICTIONARY dict_01864 ( `id` UInt64, `value` String ) PRIMARY KEY id SOURCE(CLICKHOUSE(HOST 'localhost' PORT tcpPort() TABLE 'does_not_exists')) LIFETIME(MIN 0 MAX 1000) LAYOUT(RANGE_HASHED()) RANGE(MIN first MAX last) -- { serverError 489 } ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/getDictionaryConfigurationFromAST.cpp:0: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x00000000352a6255 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDictionary.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bb48d9c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:41:55.316528 [ 29473 ] {0acd1202-aa70-4108-9b22-f97bd32b2446} TCPHandler: Code: 489. DB::Exception: MIN first attribute is not defined in the dictionary attributes. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/getDictionaryConfigurationFromAST.cpp:0: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x00000000352a6255 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDictionary.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003bb48d9c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:10.766997 [ 43459 ] {f6765293-2379-4fc6-b7d9-669919eb2aa2} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35644) (comment: 01825_type_json_multiple_files.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:10.770332 [ 43459 ] {f6765293-2379-4fc6-b7d9-669919eb2aa2} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:27.894504 [ 1787 ] {9f5b713a-46ef-4749-9849-6e501e4e19ec} ExternalDictionariesLoader: Could not load external dictionary 'dd67a3f3-78f9-4a24-bd82-071cd8a4519b', next update is scheduled at 2024-12-17 03:42:33: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x00000000093c6757 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x000000002b0b9c1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x000000002b0b0888 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000035276f18 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526b591 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:42:27.898380 [ 8849 ] {9f5b713a-46ef-4749-9849-6e501e4e19ec} executeQuery: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55936) (comment: 01780_clickhouse_dictionary_source_loop.sql) (in query: SELECT * FROM dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x00000000093c6757 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x000000002b0b9c1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x000000002b0b0888 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000035276f18 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526b591 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:27.900604 [ 8849 ] {9f5b713a-46ef-4749-9849-6e501e4e19ec} TCPHandler: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x00000000093c6757 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x000000002b0b9c1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x000000002b0b0888 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000035276f18 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526b591 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:28.015328 [ 7251 ] {9dfd1f1b-13af-4e29-8e88-b0bdd156fd97} ExternalDictionariesLoader: Could not load external dictionary '980d31ad-b29d-4c3c-baa4-eb70407485f3', next update is scheduled at 2024-12-17 03:42:34: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x00000000093c6757 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x000000002b0b9c1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x000000002b0b0888 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000035276f18 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526b591 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:42:28.018488 [ 8849 ] {9dfd1f1b-13af-4e29-8e88-b0bdd156fd97} executeQuery: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55936) (comment: 01780_clickhouse_dictionary_source_loop.sql) (in query: SELECT * FROM 01780_db.dict2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x00000000093c6757 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x000000002b0b9c1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x000000002b0b0888 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000035276f18 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526b591 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:28.020566 [ 8849 ] {9dfd1f1b-13af-4e29-8e88-b0bdd156fd97} TCPHandler: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x00000000093c6757 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x000000002b0b9c1b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x000000002b0b0888 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000035276f18 in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526b591 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:41.478724 [ 8849 ] {ac13260d-b9a4-49b4-92a8-48dc0736a381} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39002) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(nan, inf) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee28f in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:41.481839 [ 8849 ] {ac13260d-b9a4-49b4-92a8-48dc0736a381} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee28f in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:41.516823 [ 8849 ] {b932ad46-96a5-462a-a1c5-1186bd9dcbdc} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39002) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(nan, nan) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee28f in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:41.519071 [ 8849 ] {b932ad46-96a5-462a-a1c5-1186bd9dcbdc} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee28f in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:41.550515 [ 8849 ] {9b6f8c45-3354-42e1-9ed5-826c320c075d} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (inf, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39002) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(inf, nan) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee28f in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:41.552793 [ 8849 ] {9b6f8c45-3354-42e1-9ed5-826c320c075d} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (inf, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000001f69bb57 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee28f in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:42.109276 [ 8849 ] {54dfa8a4-c818-4e1a-9418-5a4c1aaae5a7} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be infinite: While processing (inf, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39002) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(inf, inf) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000ae608d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee217 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:42.111792 [ 8849 ] {54dfa8a4-c818-4e1a-9418-5a4c1aaae5a7} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be infinite: While processing (inf, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000ae608d7 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x000000002c4ee217 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c4ed031 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 2024.12.17 03:42:45.453454 [ 8849 ] {e347e9a4-7184-46d8-ab0c-094b05b6b52d} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43276) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:45.456155 [ 8849 ] {e347e9a4-7184-46d8-ab0c-094b05b6b52d} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:59.491861 [ 43459 ] {b74a8247-2dc6-4596-a869-e613311000ba} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57350) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:42:59.494170 [ 43459 ] {b74a8247-2dc6-4596-a869-e613311000ba} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc38300 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba27da3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b6ad98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b50001 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b4daed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d8a89b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d8d19a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:04.480524 [ 43459 ] {f5aa7df5-c736-46da-a2fb-be2804d3ede1} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt, errno: 2, strerror: No such file or directory: While processing file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34340) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('nonexist.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000002099c978 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71a69a in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:43:04.485438 [ 43459 ] {f5aa7df5-c736-46da-a2fb-be2804d3ede1} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt, errno: 2, strerror: No such file or directory: While processing file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000002099c978 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71a69a in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 2024.12.17 03:43:05.604354 [ 43459 ] {ac2954ad-4c54-499b-8bdc-c0f1fce96935} executeQuery: Code: 74. DB::ErrnoException: Cannot read from file: /var/lib/clickhouse/user_files/dir, errno: 21, strerror: Is a directory: While processing file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34350) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('dir'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/Stopwatch.h:35: DB::ReadBufferFromFileDescriptor::readImpl(char*, unsigned long, unsigned long, unsigned long) @ 0x00000000209a197f in /usr/bin/clickhouse 5. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:124: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x00000000209a1c29 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBuffer.h:72: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x0000000020a2a5ce in /usr/bin/clickhouse 7. ./build_docker/./src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x0000000020a2a165 in /usr/bin/clickhouse 8. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71a987 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:43:05.609546 [ 43459 ] {ac2954ad-4c54-499b-8bdc-c0f1fce96935} TCPHandler: Code: 74. DB::ErrnoException: Cannot read from file: /var/lib/clickhouse/user_files/dir, errno: 21, strerror: Is a directory: While processing file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000002085a83c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000002084c262 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/Stopwatch.h:35: DB::ReadBufferFromFileDescriptor::readImpl(char*, unsigned long, unsigned long, unsigned long) @ 0x00000000209a197f in /usr/bin/clickhouse 5. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:124: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x00000000209a1c29 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBuffer.h:72: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x0000000020a2a5ce in /usr/bin/clickhouse 7. ./build_docker/./src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x0000000020a2a165 in /usr/bin/clickhouse 8. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71a987 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 2024.12.17 03:43:06.805148 [ 43459 ] {35dbd8dc-9f56-4413-8966-988b2b4bebd5} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34358) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('/tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71aef4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:43:06.809744 [ 43459 ] {35dbd8dc-9f56-4413-8966-988b2b4bebd5} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71aef4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:43:07.453272 [ 43459 ] {cd2ace74-e525-43bf-bd2f-2f6b4c5d8a55} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34362) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71aef4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:43:07.457374 [ 43459 ] {cd2ace74-e525-43bf-bd2f-2f6b4c5d8a55} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71aef4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:43:08.041203 [ 43459 ] {614d9e74-6de8-452d-b60d-71ea5d324b2d} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34368) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../a.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71aef4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:43:08.045322 [ 43459 ] {614d9e74-6de8-452d-b60d-71ea5d324b2d} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a71aef4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374d8155 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374d56f4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d4514c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d755f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4cb47 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46795 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d663bc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d46901 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d254b5 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037caba0e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cd4f9a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce8750 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 2024.12.17 03:43:18.249210 [ 29473 ] {1cd9b229-7bcf-4ef6-b16b-63bb9c01e179} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57388) (comment: 01656_test_query_log_factories_info.sql) (in query: SELECT repeat('aa', number) FROM numbers(10e3) SETTINGS max_memory_usage=4e6, max_block_size=100 FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000942bfb8 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001cc9f3dd in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:18.251984 [ 29473 ] {1cd9b229-7bcf-4ef6-b16b-63bb9c01e179} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000942bfb8 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001cc9f3dd in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 24. ? @ 0x00007fe21c2faac3 in ? 25. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:28.810666 [ 43459 ] {af03c85d-ad6e-441e-bdb0-66c0b872edc4} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_atomic.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393ef9a9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:28.813484 [ 43459 ] {af03c85d-ad6e-441e-bdb0-66c0b872edc4} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393ef9a9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.230493 [ 43459 ] {76c6df1a-e851-4324-9f73-6a40f36704e9} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.232936 [ 43459 ] {76c6df1a-e851-4324-9f73-6a40f36704e9} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.252688 [ 43459 ] {e64c6a9d-8814-43e8-becc-a61f0f5053bc} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.255619 [ 43459 ] {e64c6a9d-8814-43e8-becc-a61f0f5053bc} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.333420 [ 43459 ] {0e6bdbb0-8ad3-43fa-bd5f-86d4309ddaea} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.336426 [ 43459 ] {0e6bdbb0-8ad3-43fa-bd5f-86d4309ddaea} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.787864 [ 43459 ] {a893fc62-1254-4672-90a0-89790b965db8} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_atomic.test_name_rename_attempt TO test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8eda in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:29.789797 [ 43459 ] {a893fc62-1254-4672-90a0-89790b965db8} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8eda in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:30.119201 [ 43459 ] {669bdf77-7447-4363-a33c-39549901fb4f} executeQuery: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: EXCHANGE TABLES test1601_detach_permanently_atomic.test_name_rename_attempt AND test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c943e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:30.121252 [ 43459 ] {669bdf77-7447-4363-a33c-39549901fb4f} TCPHandler: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c943e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:30.256649 [ 43459 ] {49a71584-346f-4dd5-bf0e-9b3f9de8ca51} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse ; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 03:43:30.624680 [ 43459 ] {49a71584-346f-4dd5-bf0e-9b3f9de8ca51} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: ATTACH TABLE test1601_detach_permanently_atomic.test_name_reuse UUID '00000000-0000-0000-0000-000000000001' (`number` UInt64 ) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8192 ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000947b9ff in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:218: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000037092222 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f47f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:30.627422 [ 43459 ] {49a71584-346f-4dd5-bf0e-9b3f9de8ca51} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000947b9ff in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:218: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000037092222 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f47f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:30.883217 [ 43459 ] {900f0674-d5e5-4ef6-8fb9-508faa3328c9} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:30.885243 [ 43459 ] {900f0674-d5e5-4ef6-8fb9-508faa3328c9} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:31.279480 [ 43459 ] {cdb8c390-e6e1-4ddf-8a16-9088982b55eb} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:31.281778 [ 43459 ] {cdb8c390-e6e1-4ddf-8a16-9088982b55eb} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:31.968083 [ 43459 ] {226528a0-9a97-4ae6-9d6c-28425004576b} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_ordinary.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393ef9a9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:31.970136 [ 43459 ] {226528a0-9a97-4ae6-9d6c-28425004576b} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393ef9a9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.020217 [ 43459 ] {8954e141-c223-4fc8-9fa3-6cd6659f6133} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.021951 [ 43459 ] {8954e141-c223-4fc8-9fa3-6cd6659f6133} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.034430 [ 43459 ] {684783ee-d0c5-4ab0-b69b-27b2b328762c} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.035960 [ 43459 ] {684783ee-d0c5-4ab0-b69b-27b2b328762c} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.082194 [ 43459 ] {6ef18911-5c7b-426b-899a-5e397f29f196} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.083881 [ 43459 ] {6ef18911-5c7b-426b-899a-5e397f29f196} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.518829 [ 43459 ] {1890dc26-e7e1-4881-b16a-d09b3affd386} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_ordinary.test_name_rename_attempt TO test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:418: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709dab7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.522223 [ 43459 ] {1890dc26-e7e1-4881-b16a-d09b3affd386} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:418: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709dab7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.670245 [ 43459 ] {d802d668-dad0-4fa1-85e9-fb7493f05207} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 03:43:32.936035 [ 43459 ] {1ae3086e-3ad2-4481-8658-84304b3397e2} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:32.937717 [ 43459 ] {1ae3086e-3ad2-4481-8658-84304b3397e2} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:33.264681 [ 43459 ] {0f041823-8b91-483a-8e68-dc994fb139af} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:33.266379 [ 43459 ] {0f041823-8b91-483a-8e68-dc994fb139af} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:33.818434 [ 43459 ] {b1a7305b-a5d9-4d19-bce6-884024513926} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_ordinary;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x0000000019e8b678 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:544: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x00000000370a7125 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x0000000037ad9c34 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000396507c3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000003964494d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642b96 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:33.820195 [ 43459 ] {b1a7305b-a5d9-4d19-bce6-884024513926} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x0000000019e8b678 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:544: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x00000000370a7125 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x0000000037ad9c34 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000396507c3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000003964494d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642b96 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.270560 [ 43459 ] {466788c8-4ccc-4659-8fb8-f41c4d102533} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_lazy.test_name_reuse (number UInt64) engine=Log;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393ef9a9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.272505 [ 43459 ] {466788c8-4ccc-4659-8fb8-f41c4d102533} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393ef9a9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.326312 [ 43459 ] {b2ee2e9b-c371-41f1-94c6-9433c8c2edc5} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.328285 [ 43459 ] {b2ee2e9b-c371-41f1-94c6-9433c8c2edc5} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.345092 [ 43459 ] {ff2c5efe-e62f-44fe-81bd-d89ede05d464} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.347450 [ 43459 ] {ff2c5efe-e62f-44fe-81bd-d89ede05d464} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.409442 [ 43459 ] {cbc9d833-b37a-4b73-983d-7f38eefda0fe} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.411653 [ 43459 ] {cbc9d833-b37a-4b73-983d-7f38eefda0fe} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.825791 [ 43459 ] {d7fd2bc5-cf59-41d9-ad79-667e91481bec} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_lazy.test_name_rename_attempt TO test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:418: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709dab7 in /usr/bin/clickhouse 6. ./build_docker/./src/Databases/DatabaseLazy.cpp:94: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000395a3963 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.827539 [ 43459 ] {d7fd2bc5-cf59-41d9-ad79-667e91481bec} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:353: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000003709bb4a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000003709b069 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:418: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709dab7 in /usr/bin/clickhouse 6. ./build_docker/./src/Databases/DatabaseLazy.cpp:94: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000395a3963 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:34.979741 [ 43459 ] {0a781f3c-99a8-44a3-93f8-c559ff0d406a} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 03:43:35.215797 [ 43459 ] {2fcaeacd-a499-412f-afbf-dfeb378542d3} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:35.217784 [ 43459 ] {2fcaeacd-a499-412f-afbf-dfeb378542d3} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:35.580484 [ 43459 ] {df67de3c-f93c-4858-88d7-c40665f3d631} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:35.582288 [ 43459 ] {df67de3c-f93c-4858-88d7-c40665f3d631} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae55ea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039646441 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:35.768067 [ 43459 ] {2138c3f7-344b-425e-bc63-b96de19079ca} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39316) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_lazy;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x0000000019e8b678 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:544: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x00000000370a7125 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x0000000037ad9c34 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000396507c3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000003964494d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642b96 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:35.769910 [ 43459 ] {2138c3f7-344b-425e-bc63-b96de19079ca} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x0000000019e8b678 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:544: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x00000000370a7125 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x0000000037ad9c34 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000396507c3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000003964494d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642b96 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:43:40.909499 [ 29473 ] {01600_log_queries_with_extensive_info_004_err} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to Int32: while executing 'FUNCTION greater(i : 0, '' : 1) -> greater(i, '') UInt8 : 2'. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37884) (comment: 01600_log_queries_with_extensive_info.sh) (in query: select k from test_log_queries.logtable where i > ''), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000009e5c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000020a1135a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:40: void DB::readIntTextUnsafe(long&, DB::ReadBuffer&) @ 0x0000000036fad660 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000036facae4 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x00000000093c7a06 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e4c03 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011028eb3 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010fdfbd0 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce304a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:43:40.913930 [ 29473 ] {01600_log_queries_with_extensive_info_004_err} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to Int32: while executing 'FUNCTION greater(i : 0, '' : 1) -> greater(i, '') UInt8 : 2'. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000009e5c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000020a1135a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:40: void DB::readIntTextUnsafe(long&, DB::ReadBuffer&) @ 0x0000000036fad660 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000036facae4 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x00000000093c7a06 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8e4c03 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8df049 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011028eb3 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010fdfbd0 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ce304a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b5a70b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000039b3fa01 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b2b732 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 2024.12.17 03:44:03.936583 [ 928 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 36 (trying to mutate part 36_0_0_0 to 1) 2024.12.17 03:44:04.555955 [ 43459 ] {aa6a4121-9693-4129-86a5-4ac242921df5} executeQuery: Code: 341. DB::Exception: Mutation 0000000000 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52688) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:04.560314 [ 43459 ] {aa6a4121-9693-4129-86a5-4ac242921df5} TCPHandler: Code: 341. DB::Exception: Mutation 0000000000 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:04.565153 [ 921 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 34 (trying to mutate part 34_0_0_0 to 1) 2024.12.17 03:44:04.566392 [ 932 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 35 (trying to mutate part 35_0_0_0 to 1) 2024.12.17 03:44:06.613456 [ 43459 ] {96834e6a-6f37-4366-985e-dc09976b1289} executeQuery: Code: 341. DB::Exception: Mutation 0000000001 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38182) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:06.618487 [ 43459 ] {96834e6a-6f37-4366-985e-dc09976b1289} TCPHandler: Code: 341. DB::Exception: Mutation 0000000001 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:06.625204 [ 929 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 30 (trying to mutate part 30_0_0_0_1 to 2) 2024.12.17 03:44:06.631122 [ 925 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 29 (trying to mutate part 29_0_0_0_1 to 2) 2024.12.17 03:44:06.631880 [ 928 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 3 (trying to mutate part 3_0_0_0_1 to 2) 2024.12.17 03:44:08.802586 [ 8849 ] {ab154677-2456-4842-9fe4-71587fc47e37} executeQuery: Code: 341. DB::Exception: Mutation 0000000002 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38206) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:08.806646 [ 8849 ] {ab154677-2456-4842-9fe4-71587fc47e37} TCPHandler: Code: 341. DB::Exception: Mutation 0000000002 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:08.806937 [ 922 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 32 (trying to mutate part 32_0_0_0_1 to 3) 2024.12.17 03:44:08.807935 [ 917 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 33 (trying to mutate part 33_0_0_0_1 to 3) 2024.12.17 03:44:08.808715 [ 929 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 34 (trying to mutate part 34_0_0_0_1 to 3) 2024.12.17 03:44:10.950859 [ 932 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 34 (trying to mutate part 34_0_0_0_3 to 4) 2024.12.17 03:44:10.954763 [ 8849 ] {e54bf9c2-ee77-4181-97d3-38831eb6c306} executeQuery: Code: 341. DB::Exception: Mutation 0000000003 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38238) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:10.961479 [ 8849 ] {e54bf9c2-ee77-4181-97d3-38831eb6c306} TCPHandler: Code: 341. DB::Exception: Mutation 0000000003 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:10.976969 [ 930 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 32 (trying to mutate part 32_0_0_0_3 to 4) 2024.12.17 03:44:10.978150 [ 918 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 33 (trying to mutate part 33_0_0_0_3 to 4) 2024.12.17 03:44:13.145501 [ 8849 ] {83cba1ef-a0a3-4150-93a3-d4527062bcad} executeQuery: Code: 341. DB::Exception: Mutation 0000000004 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38286) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:13.148396 [ 924 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 33 (trying to mutate part 33_0_0_0_4 to 5) 2024.12.17 03:44:13.148664 [ 919 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 32 (trying to mutate part 32_0_0_0_4 to 5) 2024.12.17 03:44:13.149547 [ 8849 ] {83cba1ef-a0a3-4150-93a3-d4527062bcad} TCPHandler: Code: 341. DB::Exception: Mutation 0000000004 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:13.800102 [ 919 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 31 (trying to mutate part 31_0_0_0_4 to 5) 2024.12.17 03:44:15.331193 [ 924 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 33 (trying to mutate part 33_0_0_0_5 to 6) 2024.12.17 03:44:15.335031 [ 43459 ] {a2eddf0f-9af3-4d23-b6b3-0f935d43bc95} executeQuery: Code: 341. DB::Exception: Mutation 0000000005 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57742) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:15.338067 [ 930 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 31 (trying to mutate part 31_0_0_0_5 to 6) 2024.12.17 03:44:15.338486 [ 925 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 30 (trying to mutate part 30_0_0_0_5 to 6) 2024.12.17 03:44:15.339557 [ 43459 ] {a2eddf0f-9af3-4d23-b6b3-0f935d43bc95} TCPHandler: Code: 341. DB::Exception: Mutation 0000000005 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:15.629991 [ 926 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 32 (trying to mutate part 32_0_0_0_5 to 6) 2024.12.17 03:44:17.457549 [ 43459 ] {e22330d8-df05-4559-aab5-137b92e792cb} executeQuery: Code: 341. DB::Exception: Mutation 0000000006 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57768) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:17.461116 [ 43459 ] {e22330d8-df05-4559-aab5-137b92e792cb} TCPHandler: Code: 341. DB::Exception: Mutation 0000000006 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:17.463730 [ 917 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 4 (trying to mutate part 4_0_0_0 to 7) 2024.12.17 03:44:17.464069 [ 931 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 39 (trying to mutate part 39_0_0_0 to 7) 2024.12.17 03:44:17.464250 [ 922 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 40 (trying to mutate part 40_0_0_0 to 7) 2024.12.17 03:44:19.785139 [ 43459 ] {00026f3a-95ec-4702-b75d-4b40ff1e76e8} executeQuery: Code: 341. DB::Exception: Mutation 0000000007 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57812) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:19.789068 [ 43459 ] {00026f3a-95ec-4702-b75d-4b40ff1e76e8} TCPHandler: Code: 341. DB::Exception: Mutation 0000000007 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:19.797033 [ 930 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 39 (trying to mutate part 39_0_0_0_7 to 8) 2024.12.17 03:44:19.797131 [ 928 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 37 (trying to mutate part 37_0_0_0_7 to 8) 2024.12.17 03:44:19.801437 [ 927 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 4 (trying to mutate part 4_0_0_0_7 to 8) 2024.12.17 03:44:19.801595 [ 931 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 38 (trying to mutate part 38_0_0_0_7 to 8) 2024.12.17 03:44:21.952669 [ 918 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 36 (trying to mutate part 36_0_0_0_8 to 9) 2024.12.17 03:44:21.956004 [ 43459 ] {e30fc2cf-eca1-461d-bd81-eeb24f141675} executeQuery: Code: 341. DB::Exception: Mutation 0000000008 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57844) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:21.960422 [ 43459 ] {e30fc2cf-eca1-461d-bd81-eeb24f141675} TCPHandler: Code: 341. DB::Exception: Mutation 0000000008 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:21.967918 [ 928 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 35 (trying to mutate part 35_0_0_0_8 to 9) 2024.12.17 03:44:21.968323 [ 927 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 34 (trying to mutate part 34_0_0_0_8 to 9) 2024.12.17 03:44:24.058063 [ 43459 ] {4f08eb2d-b4c4-4989-bc49-4467941f4f73} executeQuery: Code: 341. DB::Exception: Mutation 0000000009 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57856) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:24.061976 [ 43459 ] {4f08eb2d-b4c4-4989-bc49-4467941f4f73} TCPHandler: Code: 341. DB::Exception: Mutation 0000000009 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:24.064271 [ 926 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 31 (trying to mutate part 31_0_0_0_9 to 10) 2024.12.17 03:44:24.067556 [ 922 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 30 (trying to mutate part 30_0_0_0_9 to 10) 2024.12.17 03:44:24.067956 [ 927 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 32 (trying to mutate part 32_0_0_0_9 to 10) 2024.12.17 03:44:26.293348 [ 929 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 34 (trying to mutate part 34_0_0_0_9 to 11) 2024.12.17 03:44:26.296479 [ 43459 ] {fc3fc11c-bfce-4675-991f-f1b5df50c398} executeQuery: Code: 341. DB::Exception: Mutation 0000000010 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60270) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:26.300511 [ 43459 ] {fc3fc11c-bfce-4675-991f-f1b5df50c398} TCPHandler: Code: 341. DB::Exception: Mutation 0000000010 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:27.367436 [ 920 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 33 (trying to mutate part 33_0_0_0_9 to 11) 2024.12.17 03:44:28.431112 [ 920 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 36 (trying to mutate part 36_0_0_0_9 to 12) 2024.12.17 03:44:28.431680 [ 932 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 38 (trying to mutate part 38_0_0_0_8 to 12) 2024.12.17 03:44:28.432606 [ 43459 ] {c471b9c6-6bc2-40b3-b8c3-5c611665e200} executeQuery: Code: 341. DB::Exception: Mutation 0000000011 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60304) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:28.437079 [ 43459 ] {c471b9c6-6bc2-40b3-b8c3-5c611665e200} TCPHandler: Code: 341. DB::Exception: Mutation 0000000011 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:29.537181 [ 929 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 37 (trying to mutate part 37_0_0_0_8 to 12) 2024.12.17 03:44:30.562349 [ 43459 ] {f516fa32-cce9-438f-b944-0d13971bc5c2} executeQuery: Code: 341. DB::Exception: Mutation 0000000012 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60348) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:30.566808 [ 43459 ] {f516fa32-cce9-438f-b944-0d13971bc5c2} TCPHandler: Code: 341. DB::Exception: Mutation 0000000012 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:599: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bfa0c32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c14b6fe in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c145c7c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:30.574674 [ 919 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 38 (trying to mutate part 38_0_0_0_12 to 13) 2024.12.17 03:44:30.574884 [ 928 ] {} test_zvq7s806.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 39 (trying to mutate part 39_0_0_0_8 to 13) 2024.12.17 03:44:53.663555 [ 8849 ] {7dffc53c-f319-426d-a70a-f0e5a1bc5e2e} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49620) (comment: 01545_system_errors.sh) (in query: SELECT throwIf(1)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:53.667790 [ 8849 ] {7dffc53c-f319-426d-a70a-f0e5a1bc5e2e} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:56.104383 [ 29473 ] {dbd2ed10-808e-4dae-addf-9a9c87c3bcde} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43018) (comment: 01545_system_errors.sh) (in query: SELECT `dummy` FROM `system`.`one` WHERE throwIf(NOT `dummy`)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebaf97e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:56.108369 [ 29473 ] {dbd2ed10-808e-4dae-addf-9a9c87c3bcde} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebaf97e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:44:56.116280 [ 8849 ] {2b95b8ca-1a82-4df8-9c60-45b9c2a5bb46} executeQuery: Code: 395. DB::Exception: Received from 127.2:9000. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebaf97e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? : While executing Remote. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49636) (comment: 01545_system_errors.sh) (in query: SELECT * FROM remote('127.2', system.one) where throwIf(not dummy)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:44:56.122601 [ 8849 ] {2b95b8ca-1a82-4df8-9c60-45b9c2a5bb46} TCPHandler: Code: 395. DB::Exception: Received from 127.2:9000. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d12e2a3 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003ebaf97e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003ebaf4a4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? : While executing Remote. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a7b92e8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x00000000209b6058 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd752ff in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd90178 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 03:45:03.444620 [ 43309 ] {008bdafc-ba73-419c-8170-f2a9a5a142fe} ExternalDictionariesLoader: Could not load external dictionary '22827ebe-3fb7-4531-b0ff-7152ebf8a409', next update is scheduled at 2024-12-17 03:45:08: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:45:03.448935 [ 45333 ] {e7c7bbdc-91cc-4545-a024-df3f9258f990} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49804) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449000 [ 45331 ] {bba6ef42-dcee-464b-a4c6-38aa5c2ddf96} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49782) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.448962 [ 45336 ] {aea5104c-d052-4afd-8781-3959b2237047} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49828) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449135 [ 45329 ] {4bd10117-da93-4856-b5f1-3b47ae024051} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49764) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449152 [ 45330 ] {497cbe61-d188-478b-a6a9-dc01508ddbe6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49770) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.448936 [ 45335 ] {c1cc28f5-e0ea-47e5-9072-a85c3880bb91} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49822) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449284 [ 45332 ] {349b64f8-0728-4445-a1c9-d645541b19b4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49798) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449286 [ 45327 ] {5d1cf485-b6fb-41c7-ae8f-bf2ebf24167c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49744) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449297 [ 45328 ] {008bdafc-ba73-419c-8170-f2a9a5a142fe} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49758) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449362 [ 43459 ] {577375a3-492a-4525-9afc-b40bea61e644} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49728) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449085 [ 45334 ] {ba66a22d-e2f0-418b-8b6a-94ab10b832d9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49808) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.449670 [ 29473 ] {282e5e72-a916-4c80-9d75-296719cdf848} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49732) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.452974 [ 45333 ] {e7c7bbdc-91cc-4545-a024-df3f9258f990} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.453129 [ 45327 ] {5d1cf485-b6fb-41c7-ae8f-bf2ebf24167c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.452980 [ 29473 ] {282e5e72-a916-4c80-9d75-296719cdf848} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.453130 [ 45328 ] {008bdafc-ba73-419c-8170-f2a9a5a142fe} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.453135 [ 45330 ] {497cbe61-d188-478b-a6a9-dc01508ddbe6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.452974 [ 45329 ] {4bd10117-da93-4856-b5f1-3b47ae024051} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.453227 [ 43459 ] {577375a3-492a-4525-9afc-b40bea61e644} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.453246 [ 45332 ] {349b64f8-0728-4445-a1c9-d645541b19b4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.453414 [ 45335 ] {c1cc28f5-e0ea-47e5-9072-a85c3880bb91} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.454084 [ 45336 ] {aea5104c-d052-4afd-8781-3959b2237047} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.455077 [ 45334 ] {ba66a22d-e2f0-418b-8b6a-94ab10b832d9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.455217 [ 45331 ] {bba6ef42-dcee-464b-a4c6-38aa5c2ddf96} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.990468 [ 43459 ] {b545a49c-0bab-4d88-9937-c80741046313} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47532) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:03.994705 [ 43459 ] {b545a49c-0bab-4d88-9937-c80741046313} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.005969 [ 29473 ] {e9a53608-c9db-4963-8532-ad6899dcb56c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47534) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.009671 [ 29473 ] {e9a53608-c9db-4963-8532-ad6899dcb56c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.040154 [ 45329 ] {135a6694-e726-42e1-813c-975de9a067d8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47546) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.041658 [ 45328 ] {e9deb9f0-4d89-43ad-a6ca-83087410b5b2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47544) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.042621 [ 45330 ] {ee49c115-9ef5-4cd1-90a3-9334452f52d5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47550) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.044268 [ 45329 ] {135a6694-e726-42e1-813c-975de9a067d8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.045710 [ 45333 ] {65fd8648-164d-4e25-8c9c-6fcdc44b73b8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47580) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.045971 [ 45330 ] {ee49c115-9ef5-4cd1-90a3-9334452f52d5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.048845 [ 45333 ] {65fd8648-164d-4e25-8c9c-6fcdc44b73b8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.050184 [ 45328 ] {e9deb9f0-4d89-43ad-a6ca-83087410b5b2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.054929 [ 45331 ] {c0af9a12-3dc2-4073-a36b-33fa3b5efcfe} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47560) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.055120 [ 45327 ] {92ed279f-fc33-44c0-b538-2453ecbb6f0b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47542) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.059322 [ 45331 ] {c0af9a12-3dc2-4073-a36b-33fa3b5efcfe} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.059737 [ 45327 ] {92ed279f-fc33-44c0-b538-2453ecbb6f0b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.063901 [ 45334 ] {63f4f011-e85b-41a8-a011-f6d42dc0a9fa} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47592) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.066464 [ 45334 ] {63f4f011-e85b-41a8-a011-f6d42dc0a9fa} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.080587 [ 45332 ] {27bed817-89f1-4073-854a-2c32e598be5e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47570) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.092102 [ 45332 ] {27bed817-89f1-4073-854a-2c32e598be5e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.097511 [ 45336 ] {25669645-54bb-430d-9343-aaea229805ab} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47624) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.098090 [ 45335 ] {dc76a996-bf4c-47e4-a6a2-5d5b270fe8f8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47608) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.101261 [ 45336 ] {25669645-54bb-430d-9343-aaea229805ab} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.103470 [ 45335 ] {dc76a996-bf4c-47e4-a6a2-5d5b270fe8f8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.683146 [ 43459 ] {3a6b44e8-d031-4915-90c3-afee42cc4d21} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47638) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.688230 [ 43459 ] {3a6b44e8-d031-4915-90c3-afee42cc4d21} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.720750 [ 45327 ] {a3ec7456-afb8-46d5-b9e8-ff3aa57ee603} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47654) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.725207 [ 45327 ] {a3ec7456-afb8-46d5-b9e8-ff3aa57ee603} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.726697 [ 45328 ] {7fd051c1-9dea-4ab7-b0eb-1bb76de2bdf3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47668) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.731183 [ 45328 ] {7fd051c1-9dea-4ab7-b0eb-1bb76de2bdf3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.739526 [ 29473 ] {387175bb-4e40-45f0-8417-78e377cd1e28} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47648) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.739526 [ 45329 ] {fd43b724-2c20-4cd1-9778-2def0b263c04} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47680) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.743456 [ 29473 ] {387175bb-4e40-45f0-8417-78e377cd1e28} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.744052 [ 45329 ] {fd43b724-2c20-4cd1-9778-2def0b263c04} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.746601 [ 45331 ] {800291f8-b45e-4a1b-ad5e-34372f5b53ed} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47690) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.753074 [ 45331 ] {800291f8-b45e-4a1b-ad5e-34372f5b53ed} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.754341 [ 45330 ] {16365519-2a14-4c40-a7cf-e26adb6c079c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47682) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.759061 [ 45330 ] {16365519-2a14-4c40-a7cf-e26adb6c079c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.778890 [ 45332 ] {0ca3b8b7-a488-4070-a56d-46021302012d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47704) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.787964 [ 45332 ] {0ca3b8b7-a488-4070-a56d-46021302012d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.788658 [ 45333 ] {8d3358d9-a688-47f2-8d59-e76c93360baf} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47714) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.792486 [ 45333 ] {8d3358d9-a688-47f2-8d59-e76c93360baf} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.825404 [ 45334 ] {1713603a-ded1-4778-b6f3-6d1020858e75} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47728) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.829918 [ 45336 ] {b311a2ce-4d5e-4e9b-928b-a87991e28011} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47760) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.830833 [ 45334 ] {1713603a-ded1-4778-b6f3-6d1020858e75} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.837954 [ 45336 ] {b311a2ce-4d5e-4e9b-928b-a87991e28011} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.871599 [ 45335 ] {b41dd97f-3510-4e17-be93-958fba60d8ef} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47744) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:04.878543 [ 45335 ] {b41dd97f-3510-4e17-be93-958fba60d8ef} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.351748 [ 45331 ] {dd005e6f-1074-4990-8610-31406080a081} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47768) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.360020 [ 45331 ] {dd005e6f-1074-4990-8610-31406080a081} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.371545 [ 45333 ] {3187f35c-6b41-4663-86bf-45d8d44068d1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47782) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.371547 [ 45332 ] {ca76e4d2-ac53-4b0e-bd82-a4a168010383} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47774) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.376164 [ 45332 ] {ca76e4d2-ac53-4b0e-bd82-a4a168010383} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.377912 [ 45333 ] {3187f35c-6b41-4663-86bf-45d8d44068d1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.388310 [ 45335 ] {bc1393a2-90a8-40a6-88e2-6f2d96705b24} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47794) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.391475 [ 45334 ] {56a2c534-92e6-4932-8334-fe051d6de53b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47792) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.393486 [ 45335 ] {bc1393a2-90a8-40a6-88e2-6f2d96705b24} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.398235 [ 45334 ] {56a2c534-92e6-4932-8334-fe051d6de53b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.422972 [ 45336 ] {07d57250-e052-4cf7-aa36-cd199484e4cc} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47796) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.424898 [ 29473 ] {346c13d8-b757-489d-8f43-4d282a332aed} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47820) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.427823 [ 45336 ] {07d57250-e052-4cf7-aa36-cd199484e4cc} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.429401 [ 29473 ] {346c13d8-b757-489d-8f43-4d282a332aed} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.440062 [ 43459 ] {4d224475-d606-400d-9394-9ecfc6d119de} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47804) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.444548 [ 43459 ] {4d224475-d606-400d-9394-9ecfc6d119de} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.482900 [ 45327 ] {3d11b23c-af23-43a4-9b33-5520963daaa0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47834) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.489214 [ 45327 ] {3d11b23c-af23-43a4-9b33-5520963daaa0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.491359 [ 45328 ] {bcdc329a-a5ea-4203-9983-3589d219051c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47838) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.498094 [ 45328 ] {bcdc329a-a5ea-4203-9983-3589d219051c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.511082 [ 45329 ] {949cb0b4-99c0-4594-ab8a-0b2ac44ff44b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47850) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.518118 [ 45329 ] {949cb0b4-99c0-4594-ab8a-0b2ac44ff44b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.550946 [ 45330 ] {47cced10-bb20-4852-aee5-ad9fe785a04c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47856) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.556162 [ 45330 ] {47cced10-bb20-4852-aee5-ad9fe785a04c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.977972 [ 45331 ] {b41799a3-8547-4d3d-bf18-62f32c4d121e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47868) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.982749 [ 45331 ] {b41799a3-8547-4d3d-bf18-62f32c4d121e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.994465 [ 45333 ] {01068ff5-aa3a-42d1-b32c-043a51bd1eae} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47888) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.996117 [ 45332 ] {b48b10ab-af81-4100-9f93-fe2c0a6a18a2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47876) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:05.998847 [ 45333 ] {01068ff5-aa3a-42d1-b32c-043a51bd1eae} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.000332 [ 45332 ] {b48b10ab-af81-4100-9f93-fe2c0a6a18a2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.026939 [ 45334 ] {c64c5c0c-5d91-45b5-b3cf-e0160461b2c7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47904) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.031824 [ 45334 ] {c64c5c0c-5d91-45b5-b3cf-e0160461b2c7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.092012 [ 43459 ] {a1347be7-56a9-45fc-9121-484cbf6aede6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47924) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.093153 [ 45335 ] {175e8e3f-c1b8-4ffc-8f1b-23c579eaba9c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47908) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.098127 [ 45335 ] {175e8e3f-c1b8-4ffc-8f1b-23c579eaba9c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.102072 [ 43459 ] {a1347be7-56a9-45fc-9121-484cbf6aede6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.109619 [ 29473 ] {d133fa84-f5cc-4266-939a-433e2bbccfb4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47928) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.114692 [ 29473 ] {d133fa84-f5cc-4266-939a-433e2bbccfb4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.126692 [ 45336 ] {08047b10-b8b0-495b-b07f-6cfaf5fc1ac4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47916) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.131777 [ 45336 ] {08047b10-b8b0-495b-b07f-6cfaf5fc1ac4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.133504 [ 45328 ] {d639c7ff-47b6-488a-b709-4a5d8dd63087} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47942) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.136961 [ 45327 ] {e7aaa919-eb3f-4347-b18c-c6c65a39152d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47938) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.138456 [ 45328 ] {d639c7ff-47b6-488a-b709-4a5d8dd63087} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.147506 [ 45327 ] {e7aaa919-eb3f-4347-b18c-c6c65a39152d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.149988 [ 45329 ] {c8fd4664-d150-4fb0-9cf4-129a77c79f62} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47948) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.154703 [ 45329 ] {c8fd4664-d150-4fb0-9cf4-129a77c79f62} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.200043 [ 45330 ] {e4c28c6e-219f-4016-8f65-922551bec005} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47950) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.204249 [ 45330 ] {e4c28c6e-219f-4016-8f65-922551bec005} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.572302 [ 45331 ] {ede9ba43-54a0-430f-8207-6f79731fcbd3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47958) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.576429 [ 45331 ] {ede9ba43-54a0-430f-8207-6f79731fcbd3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.641499 [ 45332 ] {321a3b0f-196e-4357-a215-0eb8fe535aac} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47962) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.645821 [ 45332 ] {321a3b0f-196e-4357-a215-0eb8fe535aac} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.675388 [ 45333 ] {92f4cedb-a178-40ae-a471-5031bbb6b36d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47964) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.686093 [ 45333 ] {92f4cedb-a178-40ae-a471-5031bbb6b36d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.695969 [ 45335 ] {c6a47dc0-c72e-44a6-9d71-6f7cdc3bfc3f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47974) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.698864 [ 45334 ] {b3baef8d-d321-44a9-be68-ed077a359254} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47972) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.699929 [ 45335 ] {c6a47dc0-c72e-44a6-9d71-6f7cdc3bfc3f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.704875 [ 45334 ] {b3baef8d-d321-44a9-be68-ed077a359254} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.765688 [ 43459 ] {ebb43d4c-de48-422d-bf10-3e245b3efb10} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47990) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.765676 [ 45336 ] {f477a67e-9db0-4c85-aa56-4204929acec7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47992) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.771669 [ 43459 ] {ebb43d4c-de48-422d-bf10-3e245b3efb10} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.775575 [ 45336 ] {f477a67e-9db0-4c85-aa56-4204929acec7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.781375 [ 29473 ] {9984ac2f-c746-498d-a086-62bbb0bf3197} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48006) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.781951 [ 45327 ] {270a08a8-d29d-4e5d-8c92-2bf9d6611d9a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48008) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.785987 [ 45328 ] {79d2e5fa-5a77-4f50-bade-3b18d0a573b4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48010) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.786195 [ 45327 ] {270a08a8-d29d-4e5d-8c92-2bf9d6611d9a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.788857 [ 29473 ] {9984ac2f-c746-498d-a086-62bbb0bf3197} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.791280 [ 45328 ] {79d2e5fa-5a77-4f50-bade-3b18d0a573b4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.875617 [ 45329 ] {4aebed84-4181-47b9-b1d0-47c486116a90} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48014) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.879581 [ 45329 ] {4aebed84-4181-47b9-b1d0-47c486116a90} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.923498 [ 45330 ] {31affc92-a23e-4707-a0ac-736549d8e9ab} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48016) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:06.928799 [ 45330 ] {31affc92-a23e-4707-a0ac-736549d8e9ab} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.222084 [ 45333 ] {7341cb1d-206a-47f8-b374-2c8326294f26} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48020) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.230324 [ 45333 ] {7341cb1d-206a-47f8-b374-2c8326294f26} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.324828 [ 45334 ] {71a4fc13-e500-4a7b-b68b-eb3de57df1e9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48026) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.330067 [ 45334 ] {71a4fc13-e500-4a7b-b68b-eb3de57df1e9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.351099 [ 45335 ] {9c35ea53-0e0d-4418-ae5b-cbbd138c6497} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48042) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.356747 [ 45335 ] {9c35ea53-0e0d-4418-ae5b-cbbd138c6497} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.386141 [ 45336 ] {15efb34c-56c0-4b0a-acc5-f20c33c79f5c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48054) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.391246 [ 43459 ] {747dea6f-daee-421c-970e-ce664617b131} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48070) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.391774 [ 45336 ] {15efb34c-56c0-4b0a-acc5-f20c33c79f5c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.401640 [ 43459 ] {747dea6f-daee-421c-970e-ce664617b131} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.406112 [ 45327 ] {263575a6-437b-4a13-a8dd-7a94831200e3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48094) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.406484 [ 29473 ] {54d4ace9-7766-4533-8a49-29b23f3cd11d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48082) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.412072 [ 29473 ] {54d4ace9-7766-4533-8a49-29b23f3cd11d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.418113 [ 45327 ] {263575a6-437b-4a13-a8dd-7a94831200e3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.451844 [ 45328 ] {6c65ea5b-677f-4b01-8127-44417d1fe261} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48098) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.458051 [ 45328 ] {6c65ea5b-677f-4b01-8127-44417d1fe261} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.496596 [ 45329 ] {a6113af6-7f35-4a3e-b5c0-ac9ae2b17fc3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48106) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.505477 [ 45329 ] {a6113af6-7f35-4a3e-b5c0-ac9ae2b17fc3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.517635 [ 45333 ] {ec3b716a-fb45-4301-af6e-0fdc7d44e200} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48110) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.523051 [ 45333 ] {ec3b716a-fb45-4301-af6e-0fdc7d44e200} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.591012 [ 45330 ] {053b51bb-d166-4909-971a-cdd3a032813a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48122) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.599314 [ 45330 ] {053b51bb-d166-4909-971a-cdd3a032813a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.602337 [ 45334 ] {108f8d83-9b98-4493-9826-c352267dedbe} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48130) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.607647 [ 45334 ] {108f8d83-9b98-4493-9826-c352267dedbe} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.855717 [ 45333 ] {91473a4d-c936-4581-bb74-19412c092633} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48132) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:07.860210 [ 45333 ] {91473a4d-c936-4581-bb74-19412c092633} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.002697 [ 45334 ] {35f86587-69b8-4846-9345-8983a030fd1f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48142) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.008838 [ 45334 ] {35f86587-69b8-4846-9345-8983a030fd1f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.015239 [ 45335 ] {956ae6d3-f4eb-44c3-a563-c09b3c4d5c46} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48156) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.022394 [ 45335 ] {956ae6d3-f4eb-44c3-a563-c09b3c4d5c46} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.079963 [ 43459 ] {c2db6f88-50a1-4cb3-8cd5-cfa1280fd4c8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48166) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.080273 [ 45336 ] {d4e45539-228d-4330-ba8e-b300494118f8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48164) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.084359 [ 43459 ] {c2db6f88-50a1-4cb3-8cd5-cfa1280fd4c8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.086016 [ 45336 ] {d4e45539-228d-4330-ba8e-b300494118f8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.096821 [ 29473 ] {7da888c6-e4e4-4334-b46a-a50426f051ee} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48180) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.103494 [ 29473 ] {7da888c6-e4e4-4334-b46a-a50426f051ee} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.111814 [ 45327 ] {b8ec2f37-e04e-4159-8e18-c0e0c86d7fd5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48190) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.116743 [ 45327 ] {b8ec2f37-e04e-4159-8e18-c0e0c86d7fd5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.170885 [ 45333 ] {b9713d5f-c978-4670-a0ff-3c8f319e8725} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48198) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.175610 [ 45333 ] {b9713d5f-c978-4670-a0ff-3c8f319e8725} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.253326 [ 45329 ] {5218660c-c7ae-4fdd-9ce6-1f18e984166c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48212) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.257188 [ 45330 ] {fb3606c8-8af5-4ab9-a701-30ca5d174478} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48228) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.263539 [ 45329 ] {5218660c-c7ae-4fdd-9ce6-1f18e984166c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.268681 [ 45330 ] {fb3606c8-8af5-4ab9-a701-30ca5d174478} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.269418 [ 45328 ] {1199912d-9017-4286-9547-780feded408a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48200) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.274940 [ 45328 ] {1199912d-9017-4286-9547-780feded408a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.304717 [ 45331 ] {5c140856-7e9d-48d5-905a-38739feb722b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48236) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.308993 [ 45331 ] {5c140856-7e9d-48d5-905a-38739feb722b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.542723 [ 45332 ] {cf853679-d2fa-4af0-b5a7-7f52be4d9a94} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48244) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.546751 [ 45332 ] {cf853679-d2fa-4af0-b5a7-7f52be4d9a94} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.615892 [ 45330 ] {080a4780-ac8c-45ab-9a44-e912b8a9937e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48260) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.619753 [ 45330 ] {080a4780-ac8c-45ab-9a44-e912b8a9937e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.642028 [ 45331 ] {6018e4d7-1832-48e4-be56-7a063fcb01e4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48262) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.648895 [ 45331 ] {6018e4d7-1832-48e4-be56-7a063fcb01e4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.703276 [ 45333 ] {524f8857-2e70-41dd-a98c-bad65082053e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48272) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.709433 [ 45333 ] {524f8857-2e70-41dd-a98c-bad65082053e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.766739 [ 45334 ] {c75a2e7c-c814-460e-8b70-85114bbb3f77} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48288) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.773770 [ 45334 ] {c75a2e7c-c814-460e-8b70-85114bbb3f77} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.808674 [ 45336 ] {5e298223-5ef3-4aad-8f69-c2c60abd7751} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48318) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.818275 [ 45336 ] {5e298223-5ef3-4aad-8f69-c2c60abd7751} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.827086 [ 45335 ] {409be75d-ff67-40dc-8c3e-3e620189900f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48302) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.842112 [ 45335 ] {409be75d-ff67-40dc-8c3e-3e620189900f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.847094 [ 45332 ] {2f8e9ee7-9199-47f9-8d4c-88c6114c6920} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48330) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.851773 [ 45332 ] {2f8e9ee7-9199-47f9-8d4c-88c6114c6920} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.908460 [ 45330 ] {a06b12b5-2d6f-4f57-97e4-3808ab2f3854} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48332) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.914585 [ 45330 ] {a06b12b5-2d6f-4f57-97e4-3808ab2f3854} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.929402 [ 45331 ] {34b0e9ee-3744-4e70-9b92-02d504250479} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48340) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.934871 [ 43459 ] {33c8f78c-2587-4320-967c-0f5c7ddb2d55} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48354) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.938230 [ 45331 ] {34b0e9ee-3744-4e70-9b92-02d504250479} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.939984 [ 43459 ] {33c8f78c-2587-4320-967c-0f5c7ddb2d55} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.944708 [ 29473 ] {aba0239b-818b-4aa2-b064-fdb7cd7506bd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48364) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:08.949921 [ 29473 ] {aba0239b-818b-4aa2-b064-fdb7cd7506bd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.262131 [ 45330 ] {31e4e5ee-8edc-4f29-a612-09ffc01f35b9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48376) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.266300 [ 45330 ] {31e4e5ee-8edc-4f29-a612-09ffc01f35b9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.310372 [ 45331 ] {e89acc44-2587-45c1-956a-63aa1d9c3230} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48382) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.321225 [ 45331 ] {e89acc44-2587-45c1-956a-63aa1d9c3230} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.351870 [ 45332 ] {7e28c76e-ed48-4841-8b69-7becda451aea} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48388) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.352551 [ 45333 ] {fc1aa58b-1606-4a87-a09b-20abef43fabd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48402) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.357013 [ 45333 ] {fc1aa58b-1606-4a87-a09b-20abef43fabd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.361500 [ 45332 ] {7e28c76e-ed48-4841-8b69-7becda451aea} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.417051 [ 45334 ] {30d5ff6e-e95a-4397-a233-b167f71aa350} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48410) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.422360 [ 45334 ] {30d5ff6e-e95a-4397-a233-b167f71aa350} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.491168 [ 45335 ] {c4c15bce-bae2-4d55-9e91-5515dfaf84e4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48426) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.495317 [ 45335 ] {c4c15bce-bae2-4d55-9e91-5515dfaf84e4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.515766 [ 45336 ] {aef25d35-3277-44a8-99d1-6c8310c79e5d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48442) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.520795 [ 45336 ] {aef25d35-3277-44a8-99d1-6c8310c79e5d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.527433 [ 43459 ] {bb2e55c0-83f6-4704-83b5-950fa4acb1e5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48454) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.535692 [ 43459 ] {bb2e55c0-83f6-4704-83b5-950fa4acb1e5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.596979 [ 45330 ] {efad2177-e832-43e7-9d30-d65b88a07f5a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48468) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.601871 [ 45330 ] {efad2177-e832-43e7-9d30-d65b88a07f5a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.624518 [ 45331 ] {841500fe-78d8-4252-9aa9-ef583bd0852f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48470) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.631066 [ 45331 ] {841500fe-78d8-4252-9aa9-ef583bd0852f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.633134 [ 45332 ] {56121ca7-5759-4136-ba7a-454c465c5bb3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48476) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.638205 [ 45332 ] {56121ca7-5759-4136-ba7a-454c465c5bb3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.694086 [ 45333 ] {a6a9c106-faf1-4618-b1db-302d3bc1bd02} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48486) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.699838 [ 45333 ] {a6a9c106-faf1-4618-b1db-302d3bc1bd02} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.892742 [ 45330 ] {7c8171ea-f798-4ffe-8ee1-dac7a2ab279a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48498) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.897670 [ 45330 ] {7c8171ea-f798-4ffe-8ee1-dac7a2ab279a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.948561 [ 45331 ] {43439e77-e44c-43e5-9e2d-b93eca74c9bb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48506) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.953343 [ 45331 ] {43439e77-e44c-43e5-9e2d-b93eca74c9bb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.986925 [ 45332 ] {9a2b7edf-f04c-4d7e-a18f-adb26b531245} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48514) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.992800 [ 45332 ] {9a2b7edf-f04c-4d7e-a18f-adb26b531245} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:09.998097 [ 45333 ] {4a2684da-9b64-47a2-a3e7-ab071e45d4d6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48530) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.003145 [ 45333 ] {4a2684da-9b64-47a2-a3e7-ab071e45d4d6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.062236 [ 45334 ] {9d23efce-8744-411d-b52c-3d5b0f305846} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48538) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.066602 [ 45334 ] {9d23efce-8744-411d-b52c-3d5b0f305846} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.112373 [ 45335 ] {1f4ca9cf-0ac4-427d-9fd7-580c51495db8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48544) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.117492 [ 45335 ] {1f4ca9cf-0ac4-427d-9fd7-580c51495db8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.219162 [ 45330 ] {61f512dd-d54c-4344-83c7-d6b5eb68755a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48558) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.224823 [ 45330 ] {61f512dd-d54c-4344-83c7-d6b5eb68755a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.234554 [ 45336 ] {e375cb09-aacf-4b13-8141-9c13c224c19f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48562) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.241119 [ 45336 ] {e375cb09-aacf-4b13-8141-9c13c224c19f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.247236 [ 43459 ] {5822e62a-52c9-4323-a05a-7582c10f4bb2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48578) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.254325 [ 43459 ] {5822e62a-52c9-4323-a05a-7582c10f4bb2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.289659 [ 29473 ] {dd361f57-b98f-42e8-99c3-a20b0344e841} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48584) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.294836 [ 29473 ] {dd361f57-b98f-42e8-99c3-a20b0344e841} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.412768 [ 45327 ] {913b772e-d9ef-4d1f-86f5-eace5eeced45} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48586) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.418594 [ 45327 ] {913b772e-d9ef-4d1f-86f5-eace5eeced45} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.442043 [ 45328 ] {2dedb395-4a14-4f05-a201-d6cde991a3e3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48588) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.448536 [ 45328 ] {2dedb395-4a14-4f05-a201-d6cde991a3e3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.518300 [ 45330 ] {43d70b31-7c63-4af0-9c9d-9222a1f0b726} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48592) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.523663 [ 45330 ] {43d70b31-7c63-4af0-9c9d-9222a1f0b726} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.645330 [ 45336 ] {0eb293c4-5037-4509-b480-c20aa20b0b41} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48602) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.652477 [ 45336 ] {0eb293c4-5037-4509-b480-c20aa20b0b41} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.655296 [ 43459 ] {4019184a-a97a-491d-bfea-ac1f83376fe0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48606) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.660112 [ 43459 ] {4019184a-a97a-491d-bfea-ac1f83376fe0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.679033 [ 29473 ] {75a75668-5063-43b6-a4e8-e64a32515751} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48618) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.683559 [ 29473 ] {75a75668-5063-43b6-a4e8-e64a32515751} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.764593 [ 45327 ] {9c88b96f-5d79-481c-b52b-56eb21fdca97} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48622) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.771386 [ 45327 ] {9c88b96f-5d79-481c-b52b-56eb21fdca97} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.884424 [ 45330 ] {dcd58217-36cf-482f-a9f1-ae81b1bb4162} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48632) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.889502 [ 45330 ] {dcd58217-36cf-482f-a9f1-ae81b1bb4162} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.896248 [ 45328 ] {4a56a72f-2a11-41ce-aaa0-dfc24f914cb1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48638) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.902523 [ 45328 ] {4a56a72f-2a11-41ce-aaa0-dfc24f914cb1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.918116 [ 43459 ] {bde9c26b-b948-442c-b691-6af6b54d8000} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48656) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.926251 [ 43459 ] {bde9c26b-b948-442c-b691-6af6b54d8000} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.940600 [ 45329 ] {b4b23c73-e9a9-440e-b981-2466b42f1724} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48642) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.946547 [ 45329 ] {b4b23c73-e9a9-440e-b981-2466b42f1724} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.984348 [ 45336 ] {ffb6c911-8127-4481-b930-2113d8d22132} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48664) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:10.989646 [ 45336 ] {ffb6c911-8127-4481-b930-2113d8d22132} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.122357 [ 29473 ] {3f24ec7f-e6d4-42b8-824c-9c9344d68e8c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48666) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.130317 [ 29473 ] {3f24ec7f-e6d4-42b8-824c-9c9344d68e8c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.151205 [ 45331 ] {43d34e4e-d552-4be3-9d7f-011f2a990878} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48678) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.157081 [ 45331 ] {43d34e4e-d552-4be3-9d7f-011f2a990878} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.169111 [ 45327 ] {e05c66de-59f3-4fe1-9328-a53809641189} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48668) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.174794 [ 45327 ] {e05c66de-59f3-4fe1-9328-a53809641189} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.335984 [ 45330 ] {50418954-cfb6-462e-ac07-725f9f32f3ee} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48686) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.342297 [ 45330 ] {50418954-cfb6-462e-ac07-725f9f32f3ee} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.349790 [ 45336 ] {e1f25ab7-d632-4b9a-b8c3-94bc1a2dc8eb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48690) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.357695 [ 43459 ] {fc8c80a5-1d48-4be7-91ad-0ff62e5b0375} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48694) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.358209 [ 45336 ] {e1f25ab7-d632-4b9a-b8c3-94bc1a2dc8eb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.366251 [ 43459 ] {fc8c80a5-1d48-4be7-91ad-0ff62e5b0375} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.521765 [ 29473 ] {804b8489-f2e6-409b-93fa-af5631ea8271} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48708) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.534543 [ 29473 ] {804b8489-f2e6-409b-93fa-af5631ea8271} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.619030 [ 45327 ] {90d6f8d7-2d27-48fd-85e0-22c0c4de1af3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48710) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.620441 [ 45330 ] {a76c6488-9ec0-45a8-b8e3-34d33baf89af} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48724) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.625408 [ 45330 ] {a76c6488-9ec0-45a8-b8e3-34d33baf89af} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.625573 [ 45327 ] {90d6f8d7-2d27-48fd-85e0-22c0c4de1af3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.637464 [ 45328 ] {57f10298-355b-409c-904f-1fb50d6219e2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48752) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.646144 [ 45328 ] {57f10298-355b-409c-904f-1fb50d6219e2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.659051 [ 45336 ] {69e3ff17-c9dc-4e90-b0d5-87dc643a93a0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48736) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.663442 [ 45336 ] {69e3ff17-c9dc-4e90-b0d5-87dc643a93a0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.667685 [ 43459 ] {a1d8f75f-0a10-47ec-9928-177102a155c3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48762) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.682152 [ 43459 ] {a1d8f75f-0a10-47ec-9928-177102a155c3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.828925 [ 29473 ] {21b222f0-dc18-43ba-9b24-6ebe338548ca} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48772) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.834084 [ 29473 ] {21b222f0-dc18-43ba-9b24-6ebe338548ca} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.834168 [ 43264 ] {} ExternalDictionariesLoader: Could not load external dictionary '22827ebe-3fb7-4531-b0ff-7152ebf8a409', next update is scheduled at 2024-12-17 03:45:18: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:45:11.882573 [ 45329 ] {e3d0923a-9ec0-472d-bfd4-0600a2ec9b51} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48784) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.889104 [ 45329 ] {e3d0923a-9ec0-472d-bfd4-0600a2ec9b51} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.893880 [ 45331 ] {5e5288a4-57c5-45ca-b26f-6a8e7f16f1f9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48796) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:11.900173 [ 45331 ] {5e5288a4-57c5-45ca-b26f-6a8e7f16f1f9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.021279 [ 45330 ] {31f5e452-c61f-4036-b1f8-dd8926907ad6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48808) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.027633 [ 45330 ] {31f5e452-c61f-4036-b1f8-dd8926907ad6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.036995 [ 43459 ] {c011cd35-7b00-478b-b0f2-be91c21b51e3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48838) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.046318 [ 43459 ] {c011cd35-7b00-478b-b0f2-be91c21b51e3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.059211 [ 45336 ] {c4ddee33-215e-4c37-acdb-dcbeb5bdfb76} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48824) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.064584 [ 45336 ] {c4ddee33-215e-4c37-acdb-dcbeb5bdfb76} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.180256 [ 45327 ] {c5d30dc3-c3e9-4248-b93d-2becab676736} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48846) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.184623 [ 45327 ] {c5d30dc3-c3e9-4248-b93d-2becab676736} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.272280 [ 45328 ] {ffcf90ad-d5bc-41d1-8cda-b95f58b46f5d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48850) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.276884 [ 45328 ] {ffcf90ad-d5bc-41d1-8cda-b95f58b46f5d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.313068 [ 43459 ] {aabae771-057b-4bb5-aeb8-fbb495408919} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48858) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.316952 [ 43459 ] {aabae771-057b-4bb5-aeb8-fbb495408919} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.339735 [ 45336 ] {254f9a14-e5d1-4f6b-b4a6-29202eac582a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.348421 [ 45336 ] {254f9a14-e5d1-4f6b-b4a6-29202eac582a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.350606 [ 45333 ] {b1d1d631-bbed-4ddb-bdad-26140bda2a5d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48878) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.354652 [ 45333 ] {b1d1d631-bbed-4ddb-bdad-26140bda2a5d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.361878 [ 45332 ] {8dfc369d-2bad-4d3e-b7d3-a4733ae7fa42} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48874) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.376933 [ 45332 ] {8dfc369d-2bad-4d3e-b7d3-a4733ae7fa42} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.451041 [ 45334 ] {12525f8e-2671-4655-9eb2-2d998012801b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48884) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.456045 [ 45334 ] {12525f8e-2671-4655-9eb2-2d998012801b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x000000002b2d3feb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x000000002b2d3921 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b33464f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 17. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 26. ? @ 0x00007fe21c2faac3 in ? 27. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:45:12.473714 [ 45334 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48884). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:45:12.475591 [ 45332 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48874). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:45:12.477952 [ 45333 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48878). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:46:53.762165 [ 45327 ] {6bd7ad8b-1f34-4ca3-b197-77f667e43027} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 03:46:54.137751 [ 45327 ] {9c18c1db-cf2c-4e0a-9b61-512745ffb514} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 03:46:54.479589 [ 45327 ] {0a22ad3b-b44c-46ed-8d46-a0ec49d06082} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 03:46:54.854999 [ 45327 ] {49dfda50-d579-4cb2-91c1-ef03e43ad6c6} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 03:46:55.543739 [ 45327 ] {8d00b4d3-56ed-4a09-9f66-14d9a51922ed} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34550) (comment: 01516_create_table_primary_key.sql) (in query: CREATE TABLE primary_key_test (`v1` Int64, `v2` Int32, `v3` String) ENGINE = ReplacingMergeTree PRIMARY KEY (v1, gcd(v1, v2)) ORDER BY v1 SETTINGS index_granularity = 12787, min_bytes_for_wide_part = 1049598885, ratio_of_defaults_for_sparse_serialization = 0.06990709155797958, merge_max_block_size = 2691, prefer_fetch_merged_part_size_threshold = 1238568440, vertical_merge_algorithm_min_rows_to_activate = 481578, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 3720730989, index_granularity_bytes = 19060478, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 74435, primary_key_compress_block_size = 83960), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c988 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:46:55.546255 [ 45327 ] {8d00b4d3-56ed-4a09-9f66-14d9a51922ed} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c7fea8c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce4c988 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce3da5d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000003da1555b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000003da13d6b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da06740 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:08.400834 [ 46576 ] {2aab2afc-0df3-49b1-9025-0ecbf63599f4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39392) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:08.400832 [ 46578 ] {bee4721a-2529-4557-a617-5afa27825146} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39404) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:08.400832 [ 46579 ] {259cc35e-1fd8-4e25-8bbc-0e90c47f1abb} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39406) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:08.400836 [ 46577 ] {5ff7edea-5e0f-4c74-966c-ef211ae3f623} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39398) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.197436 [ 942 ] {} test_soquzbqe.r8 (b66d5f65-81f8-42c0-a4e6-e8d924f12405): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 235. DB::Exception: Part all_0_0_0 (state Active) already exists. (DUPLICATE_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3774: DB::MergeTreeData::checkPartDuplicate(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&) const @ 0x000000003cef5678 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3879: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&, std::vector, std::allocator>>*) @ 0x000000003cefbbf6 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x000000003cefcf9e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool) @ 0x000000003c05718d in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02acf0 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1794: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000003bfefbca in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker&)>::__call_impl)::$_1, bool (std::shared_ptr&)>>(std::__function::__policy_storage const*, std::shared_ptr&) @ 0x000000003c288550 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000003d8c46ec in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000003c0bb576 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003c28ae1f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/IExecutableTask.h:61: DB::ExecutableLambdaAdapter::executeStep() @ 0x000000003c2fec57 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce1940b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce1bb50 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce32f5f in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:47:09.197554 [ 947 ] {} test_soquzbqe.r10 (e71f700c-19b4-4f51-91b7-8a29a049eb49): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 235. DB::Exception: Part all_0_0_0 (state Active) already exists. (DUPLICATE_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3774: DB::MergeTreeData::checkPartDuplicate(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&) const @ 0x000000003cef5678 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3879: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&, std::vector, std::allocator>>*) @ 0x000000003cefbbf6 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x000000003cefcf9e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool) @ 0x000000003c05718d in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02acf0 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1794: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000003bfefbca in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker&)>::__call_impl)::$_1, bool (std::shared_ptr&)>>(std::__function::__policy_storage const*, std::shared_ptr&) @ 0x000000003c288550 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000003d8c46ec in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000003c0bb576 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003c28ae1f in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/IExecutableTask.h:61: DB::ExecutableLambdaAdapter::executeStep() @ 0x000000003c2fec57 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce1940b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce1bb50 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce32f5f in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 22. ? @ 0x00007fe21c2faac3 in ? 23. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:47:09.197572 [ 46577 ] {5ff7edea-5e0f-4c74-966c-ef211ae3f623} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.197561 [ 46578 ] {bee4721a-2529-4557-a617-5afa27825146} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.197561 [ 46579 ] {259cc35e-1fd8-4e25-8bbc-0e90c47f1abb} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.197683 [ 46576 ] {2aab2afc-0df3-49b1-9025-0ecbf63599f4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.198012 [ 46573 ] {74d5a0ba-0058-420f-9613-df1cbd1cc84b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39438) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.198174 [ 46575 ] {baf61a05-a857-4d89-b925-4a09278baa53} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39444) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.198197 [ 46574 ] {8446ca0c-1b68-4ee7-93db-339363cf0010} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39440) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.198224 [ 46572 ] {85049af6-52b9-4420-8ec5-bfa2b4bcab55} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39424) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.203679 [ 46575 ] {baf61a05-a857-4d89-b925-4a09278baa53} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.204483 [ 46573 ] {74d5a0ba-0058-420f-9613-df1cbd1cc84b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.206357 [ 46574 ] {8446ca0c-1b68-4ee7-93db-339363cf0010} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.207623 [ 46572 ] {85049af6-52b9-4420-8ec5-bfa2b4bcab55} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_1_1_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.691093 [ 46572 ] {e16a9b58-9e98-4ab2-924a-111e6b571ccd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39472) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:09.697828 [ 46572 ] {e16a9b58-9e98-4ab2-924a-111e6b571ccd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:10.419882 [ 45336 ] {f818ac00-4a8e-496e-b045-d3a3a1735de2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39524) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:10.426297 [ 45336 ] {f818ac00-4a8e-496e-b045-d3a3a1735de2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:10.517622 [ 43459 ] {8cacea37-abe6-4f54-8d6f-15581c1416ae} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39540) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:10.523056 [ 43459 ] {8cacea37-abe6-4f54-8d6f-15581c1416ae} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.282409 [ 46578 ] {d4936d44-caf8-4fca-9d47-1c06d389cb0a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39616) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.286166 [ 46579 ] {293a7e69-e547-42a5-9e87-8d422b2d3ca1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39628) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.293802 [ 46579 ] {293a7e69-e547-42a5-9e87-8d422b2d3ca1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.297717 [ 46578 ] {d4936d44-caf8-4fca-9d47-1c06d389cb0a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.382558 [ 45336 ] {ef06469b-ca99-40f5-a90f-f295bd441913} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39642) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.400202 [ 45336 ] {ef06469b-ca99-40f5-a90f-f295bd441913} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.470736 [ 43459 ] {fe6fa9e4-efdc-48be-bff4-140e80b65790} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39648) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:11.476874 [ 43459 ] {fe6fa9e4-efdc-48be-bff4-140e80b65790} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.099146 [ 46579 ] {e2612d8a-b75a-4d2e-8de5-7b0155e1c62b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_5_5_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39720) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.109748 [ 46579 ] {e2612d8a-b75a-4d2e-8de5-7b0155e1c62b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_5_5_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.131335 [ 45336 ] {39d89674-1345-495e-93fe-de80ef23af97} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_5_5_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39722) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.137698 [ 45336 ] {39d89674-1345-495e-93fe-de80ef23af97} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_5_5_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.862333 [ 46577 ] {0a2ff144-4522-4e45-94bd-03ec7e67b228} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_6_6_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39808) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.868651 [ 46577 ] {0a2ff144-4522-4e45-94bd-03ec7e67b228} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_6_6_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.910776 [ 43459 ] {2cef4e73-a7bd-48b6-939f-bf5acae90525} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_6_6_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39824) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:12.925967 [ 43459 ] {2cef4e73-a7bd-48b6-939f-bf5acae90525} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_6_6_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:13.896306 [ 46596 ] {f17094ec-6ae6-44da-a685-f72f943a09d0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_7_7_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39320) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:13.908602 [ 46596 ] {f17094ec-6ae6-44da-a685-f72f943a09d0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_7_7_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:13.919183 [ 46578 ] {785bd55a-d1de-4716-a389-93b4e05ee7cd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_7_7_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39324) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:13.929501 [ 46578 ] {785bd55a-d1de-4716-a389-93b4e05ee7cd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_7_7_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:14.689871 [ 46583 ] {e2e64421-037f-4869-bd39-8e3fa220b812} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_8_8_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39398) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:14.699059 [ 46583 ] {e2e64421-037f-4869-bd39-8e3fa220b812} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_8_8_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:14.716424 [ 46578 ] {18f03342-519b-4193-9bed-4a404bc54136} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_8_8_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39410) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:14.724026 [ 46578 ] {18f03342-519b-4193-9bed-4a404bc54136} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_8_8_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:15.570401 [ 46575 ] {5679f114-9ab7-44ff-8027-a4321db95260} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39490) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:15.570831 [ 46578 ] {78b75206-5102-417a-b2d5-c26a59be5a19} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39502) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:15.577232 [ 46578 ] {78b75206-5102-417a-b2d5-c26a59be5a19} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:15.586128 [ 46575 ] {5679f114-9ab7-44ff-8027-a4321db95260} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:15.750045 [ 46583 ] {575b0c82-c324-4419-8293-2538a8ef7fa3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39506) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:15.760484 [ 46583 ] {575b0c82-c324-4419-8293-2538a8ef7fa3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:16.416851 [ 46576 ] {bcf5ac92-7332-461a-ac69-5e599aff43e8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39584) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:16.422541 [ 46576 ] {bcf5ac92-7332-461a-ac69-5e599aff43e8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:16.514159 [ 46577 ] {4a7f8bd6-968f-428a-9a1b-162b881bdb33} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39594) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:16.524425 [ 46577 ] {4a7f8bd6-968f-428a-9a1b-162b881bdb33} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:17.309078 [ 46577 ] {76ea955c-f384-4bc4-84b3-136bcec86daf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39666) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:17.315838 [ 46577 ] {76ea955c-f384-4bc4-84b3-136bcec86daf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:20.716799 [ 46572 ] {8eaa68c5-ebe1-49bb-a95e-fba580ca0ee4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40034) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:20.728960 [ 46572 ] {8eaa68c5-ebe1-49bb-a95e-fba580ca0ee4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:20.790019 [ 46575 ] {2e525cf6-ad68-4ddb-96ad-06bb79a0faa4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r6 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40042) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:20.796595 [ 46575 ] {2e525cf6-ad68-4ddb-96ad-06bb79a0faa4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r6 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:21.608598 [ 46575 ] {a5e1e761-78c8-4701-b2ab-cc04fe115980} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40148) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:21.618043 [ 46575 ] {a5e1e761-78c8-4701-b2ab-cc04fe115980} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:21.657688 [ 43459 ] {99a9967d-62b6-47e9-8315-4667be683ca7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40150) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:21.664770 [ 43459 ] {99a9967d-62b6-47e9-8315-4667be683ca7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:22.378714 [ 46576 ] {05e107c0-b0d2-426a-b4b1-be36472e0022} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40236) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:22.384260 [ 46576 ] {05e107c0-b0d2-426a-b4b1-be36472e0022} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:22.471017 [ 46575 ] {4f8afd5c-e8d4-4faa-8ff8-bc56ad6c21b9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40242) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:22.483393 [ 46575 ] {4f8afd5c-e8d4-4faa-8ff8-bc56ad6c21b9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:23.244362 [ 43459 ] {2c70295c-136b-4e45-8be7-4c3a33b471fd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40340) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:23.252586 [ 43459 ] {2c70295c-136b-4e45-8be7-4c3a33b471fd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:23.407132 [ 46577 ] {e4088253-b82f-4a86-8a76-32cfd58ff037} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60496) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:23.413752 [ 46577 ] {e4088253-b82f-4a86-8a76-32cfd58ff037} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.276187 [ 46579 ] {5e39f05f-7a27-4a31-8b8a-50452a49ac61} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60616) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 15), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.284673 [ 46579 ] {5e39f05f-7a27-4a31-8b8a-50452a49ac61} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.328511 [ 45336 ] {ca19bd0c-ca3c-413c-8cd8-7c80ede77c32} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60626) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.338218 [ 45336 ] {ca19bd0c-ca3c-413c-8cd8-7c80ede77c32} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.346577 [ 46576 ] {23debdaa-6516-4154-91ca-1e6875984661} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60648) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.354167 [ 46576 ] {23debdaa-6516-4154-91ca-1e6875984661} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.367515 [ 43459 ] {d7dcfa14-4651-46ab-b2d1-33c47a7928b8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60642) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.381895 [ 43459 ] {d7dcfa14-4651-46ab-b2d1-33c47a7928b8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.410212 [ 46577 ] {76743d46-7815-49ff-b00b-fc9f3f5e1067} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60660) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:24.416849 [ 46577 ] {76743d46-7815-49ff-b00b-fc9f3f5e1067} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.098902 [ 46579 ] {77342869-9c85-4daf-b5a1-ad072383cc02} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60706) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 15), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.104471 [ 46579 ] {77342869-9c85-4daf-b5a1-ad072383cc02} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.134614 [ 45336 ] {265aa722-5f39-46bf-b5a7-5b8a63cbe3d1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60714) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.155043 [ 45336 ] {265aa722-5f39-46bf-b5a7-5b8a63cbe3d1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.205146 [ 43459 ] {21af4830-d331-4032-afea-b89507af8d35} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60720) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.212079 [ 43459 ] {21af4830-d331-4032-afea-b89507af8d35} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.220688 [ 46583 ] {41b7ddbe-23ee-41c0-85c4-f66e429b8960} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60728) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.226230 [ 46583 ] {41b7ddbe-23ee-41c0-85c4-f66e429b8960} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.304326 [ 46576 ] {694ff01b-eefb-4216-b9b3-1509bc11276c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60738) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:25.313027 [ 46576 ] {694ff01b-eefb-4216-b9b3-1509bc11276c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:26.090436 [ 46576 ] {7f46ceb5-b482-407a-9e14-df49054598e4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60828) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:26.103884 [ 46576 ] {7f46ceb5-b482-407a-9e14-df49054598e4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:26.250461 [ 46577 ] {7dfbd2bc-fe17-485f-a9c1-bad5cb385d4f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60832) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:26.258217 [ 46577 ] {7dfbd2bc-fe17-485f-a9c1-bad5cb385d4f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.010596 [ 46576 ] {910f2903-f4ba-4656-b8a6-1fe388c64dfe} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60918) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.017106 [ 46576 ] {910f2903-f4ba-4656-b8a6-1fe388c64dfe} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.041204 [ 43459 ] {09a452e4-d17f-4beb-9b3f-135ed74b610e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60926) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.049247 [ 43459 ] {09a452e4-d17f-4beb-9b3f-135ed74b610e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.841907 [ 45336 ] {aafa0100-258b-4b7c-b4ff-7231679972dd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32802) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.841993 [ 46579 ] {bb5e9c97-7557-41a0-b755-5471203cd28b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32796) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.847743 [ 45336 ] {aafa0100-258b-4b7c-b4ff-7231679972dd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:27.848311 [ 46579 ] {bb5e9c97-7557-41a0-b755-5471203cd28b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:28.689787 [ 46577 ] {295506f1-456b-4863-ad32-30751c083439} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32896) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:28.691106 [ 46572 ] {46ad1a67-0090-451d-bc02-69b08e879aec} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32904) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:28.701644 [ 46577 ] {295506f1-456b-4863-ad32-30751c083439} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:28.703637 [ 46572 ] {46ad1a67-0090-451d-bc02-69b08e879aec} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:28.814190 [ 46583 ] {97aeae8e-171c-4e9e-bf4a-f9e00701ebde} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32912) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:28.820816 [ 46583 ] {97aeae8e-171c-4e9e-bf4a-f9e00701ebde} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.587655 [ 46577 ] {32890909-7fdf-480a-a576-b704695ae58f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33004) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.594053 [ 46577 ] {32890909-7fdf-480a-a576-b704695ae58f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.805548 [ 46576 ] {0b712d49-4289-4524-95f8-9619a4fb333f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33012) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 22), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.808978 [ 45336 ] {4f5ed567-dea2-46ba-a629-5ad047432e36} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33038) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.809656 [ 46579 ] {28647297-fbc2-46ea-add2-1ded9356de09} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33028) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.812640 [ 46576 ] {0b712d49-4289-4524-95f8-9619a4fb333f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.815549 [ 45336 ] {4f5ed567-dea2-46ba-a629-5ad047432e36} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:29.816755 [ 46579 ] {28647297-fbc2-46ea-add2-1ded9356de09} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_25_25_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:30.602490 [ 46578 ] {40cd1093-2981-4da0-9bf5-d39d34b2d706} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33126) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:30.613288 [ 46578 ] {40cd1093-2981-4da0-9bf5-d39d34b2d706} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:30.640651 [ 46579 ] {ac3e450d-6bbe-4508-b7e0-60466f4b0eab} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33142) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 22), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:30.647063 [ 45336 ] {152ea9f7-1456-43dd-b890-0a3db620bbdf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33146) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:30.650045 [ 46579 ] {ac3e450d-6bbe-4508-b7e0-60466f4b0eab} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:30.653621 [ 45336 ] {152ea9f7-1456-43dd-b890-0a3db620bbdf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:31.331016 [ 46578 ] {e6b7b01b-f0a1-4cc8-ade0-2b8bba4b110c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33234) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 22), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:31.331515 [ 46579 ] {48f8be57-82cd-4cf7-89a9-a7e0a7d9af3f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33240) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:31.336764 [ 46578 ] {e6b7b01b-f0a1-4cc8-ade0-2b8bba4b110c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:31.336764 [ 46579 ] {48f8be57-82cd-4cf7-89a9-a7e0a7d9af3f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:31.415310 [ 45336 ] {c20d92fc-fc09-4de2-b620-64a71efcb2c1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33250) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:31.423080 [ 45336 ] {c20d92fc-fc09-4de2-b620-64a71efcb2c1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:32.153703 [ 43459 ] {3d72cb6e-3d7c-4023-abd5-13b24e8464df} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33350) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:32.160475 [ 43459 ] {3d72cb6e-3d7c-4023-abd5-13b24e8464df} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:32.256432 [ 46583 ] {3e17295b-6d39-4024-9a7b-86ddb6bc72d2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33360) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:32.278439 [ 46583 ] {3e17295b-6d39-4024-9a7b-86ddb6bc72d2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:32.392145 [ 46575 ] {1b36ca8b-4bb8-4376-93ae-56d1e02d3e83} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r5 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33370) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:32.401091 [ 46575 ] {1b36ca8b-4bb8-4376-93ae-56d1e02d3e83} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r5 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.046661 [ 43459 ] {963a5ecc-45c5-4283-bb18-643fc51029e2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33460) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.070221 [ 43459 ] {963a5ecc-45c5-4283-bb18-643fc51029e2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.133653 [ 46575 ] {dad54493-7150-401f-9706-340f41829595} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33466) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.142169 [ 46575 ] {dad54493-7150-401f-9706-340f41829595} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.839379 [ 46574 ] {91156085-a28a-4143-a880-a064f5cf92e7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40142) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.845788 [ 46574 ] {91156085-a28a-4143-a880-a064f5cf92e7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.918492 [ 46573 ] {98ab70d8-7c7a-47d8-bf3b-c34758b18f8b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40148) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:33.930107 [ 46573 ] {98ab70d8-7c7a-47d8-bf3b-c34758b18f8b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:34.699081 [ 46572 ] {16cf0d72-7a54-4c5a-a7bf-b266149dcabf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40236) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:34.705992 [ 46572 ] {16cf0d72-7a54-4c5a-a7bf-b266149dcabf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:35.676421 [ 46575 ] {9cbe967b-b8e5-4f8f-a077-b814c0a8191d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40352) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:35.678030 [ 46572 ] {d3be5dc2-4d9d-4c65-bf57-07ba76c0ecf7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40364) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 28), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:35.683251 [ 46575 ] {9cbe967b-b8e5-4f8f-a077-b814c0a8191d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:35.688599 [ 46572 ] {d3be5dc2-4d9d-4c65-bf57-07ba76c0ecf7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:36.490462 [ 46575 ] {f7f74907-0562-4203-acd9-7012c97e1e66} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_33_33_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40450) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 28), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:36.501945 [ 46575 ] {f7f74907-0562-4203-acd9-7012c97e1e66} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_33_33_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:37.360728 [ 46575 ] {3e38e42a-1527-4dea-9716-f0ab502a90d7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40550) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:37.372204 [ 46575 ] {3e38e42a-1527-4dea-9716-f0ab502a90d7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:38.385489 [ 46575 ] {fdd5da50-063f-43d7-a6f7-3a9e9fa1f361} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40628) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 31), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:38.398359 [ 46575 ] {fdd5da50-063f-43d7-a6f7-3a9e9fa1f361} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:38.423150 [ 43459 ] {1aff0b77-ae98-433e-a3d6-70c11d960585} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40644) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:38.430171 [ 43459 ] {1aff0b77-ae98-433e-a3d6-70c11d960585} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:38.440245 [ 46576 ] {9442c6bd-36c4-42b1-8183-0b4ce22a6c3e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r4 r5 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40646) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 28), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:38.447701 [ 46576 ] {9442c6bd-36c4-42b1-8183-0b4ce22a6c3e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r4 r5 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:39.202325 [ 46576 ] {bd247564-e076-45dc-9ba1-13b748bd73ff} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40708) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 28), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:39.210847 [ 46576 ] {bd247564-e076-45dc-9ba1-13b748bd73ff} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:39.221010 [ 46578 ] {e713251c-35e2-4cc6-a2e5-b4b0f8cbb214} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40720) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:39.231002 [ 46578 ] {e713251c-35e2-4cc6-a2e5-b4b0f8cbb214} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:39.255827 [ 46577 ] {c60bbf28-fa45-4527-9ccf-4dfcfc2479f0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40734) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 31), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:39.262161 [ 46577 ] {c60bbf28-fa45-4527-9ccf-4dfcfc2479f0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:40.034656 [ 46578 ] {e4e98b5d-78d7-4731-a784-d390dd774f38} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40814) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:40.041082 [ 46578 ] {e4e98b5d-78d7-4731-a784-d390dd774f38} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:40.085457 [ 45336 ] {ca0ce249-3e55-4fa7-84ec-542a6916f8c2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40820) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 31), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:40.095398 [ 45336 ] {ca0ce249-3e55-4fa7-84ec-542a6916f8c2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:41.646237 [ 46596 ] {ea727c18-b27c-4c18-8a5f-dfa508a67b35} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_39_39_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41008) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 30), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:41.652579 [ 46596 ] {ea727c18-b27c-4c18-8a5f-dfa508a67b35} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_39_39_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:41.663661 [ 46574 ] {36a96e69-6fb5-48d2-a254-1c5a7985f1c9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_39_39_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41016) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:41.670671 [ 46574 ] {36a96e69-6fb5-48d2-a254-1c5a7985f1c9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_39_39_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.176204 [ 46579 ] {f5b8dbf3-1dbe-4980-9453-81796beea0b2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40056) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.185078 [ 46579 ] {f5b8dbf3-1dbe-4980-9453-81796beea0b2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.356012 [ 46596 ] {e08dfc81-0ab4-4cb5-b923-ad5172491bc3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 38), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.362416 [ 46596 ] {e08dfc81-0ab4-4cb5-b923-ad5172491bc3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.369112 [ 46574 ] {d7556290-47ad-4860-9171-0833ee268592} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 37), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.374158 [ 46574 ] {d7556290-47ad-4860-9171-0833ee268592} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.952990 [ 46575 ] {927a314a-5fd5-4422-a8b0-1a2e0df72469} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40156) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.953179 [ 45336 ] {92da0fd9-b33f-4164-844c-77397b6fc808} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40142) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.958875 [ 46575 ] {927a314a-5fd5-4422-a8b0-1a2e0df72469} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:44.958936 [ 45336 ] {92da0fd9-b33f-4164-844c-77397b6fc808} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.090273 [ 46573 ] {b3e21d6c-a1bd-44ee-b886-650937452131} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r4 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40172) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 37), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.097219 [ 46573 ] {b3e21d6c-a1bd-44ee-b886-650937452131} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r4 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.804395 [ 46575 ] {be026f24-d583-4e99-a87d-a74135799597} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40228) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.820174 [ 46575 ] {be026f24-d583-4e99-a87d-a74135799597} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.846433 [ 46572 ] {35975744-184e-4a56-8496-afdbfe9a2aba} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40244) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 37), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.855047 [ 46572 ] {35975744-184e-4a56-8496-afdbfe9a2aba} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.873344 [ 46578 ] {d681fe10-0001-4594-ae27-24f17f07f30a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40246) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 39), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:45.913864 [ 46578 ] {d681fe10-0001-4594-ae27-24f17f07f30a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:46.743716 [ 46578 ] {22b7870f-d134-44ff-bdfc-b4476bdc8217} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40322) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 37), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:46.744745 [ 43459 ] {93518d08-b17e-49f8-83dd-55235780af54} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40330) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 39), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:46.750523 [ 46578 ] {22b7870f-d134-44ff-bdfc-b4476bdc8217} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:46.753022 [ 43459 ] {93518d08-b17e-49f8-83dd-55235780af54} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:46.901394 [ 46577 ] {0f29caed-3ebf-4692-b037-6bab4b93219c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r2 r5 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40332) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 38), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:46.907851 [ 46577 ] {0f29caed-3ebf-4692-b037-6bab4b93219c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r2 r5 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:47.627687 [ 46573 ] {906cb1e8-9b5f-434b-8863-d058025da63d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_46_46_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40398) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 39), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:47.635991 [ 46573 ] {906cb1e8-9b5f-434b-8863-d058025da63d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_46_46_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:48.553069 [ 46577 ] {64ea5580-f6c7-4277-93d3-828574a4c8ce} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_47_47_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40456) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 39), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:48.559093 [ 46577 ] {64ea5580-f6c7-4277-93d3-828574a4c8ce} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_47_47_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:49.588144 [ 46572 ] {b80ebb60-ed25-4a7b-a6d3-99e91fb22c85} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_48_48_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40542) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 37), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:49.594572 [ 46572 ] {b80ebb60-ed25-4a7b-a6d3-99e91fb22c85} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_48_48_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:50.357251 [ 46596 ] {c5b8e777-6e71-4cc9-a312-0735f1569e5b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_49_49_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40662) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 37), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:50.366664 [ 46596 ] {c5b8e777-6e71-4cc9-a312-0735f1569e5b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_49_49_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:51.306145 [ 43459 ] {09b80bc5-f622-4890-acec-6dbfdd998aba} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40762) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:51.312043 [ 43459 ] {09b80bc5-f622-4890-acec-6dbfdd998aba} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:51.383510 [ 46572 ] {4ec35675-53f2-4a20-8b43-16c56c9b97f1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40772) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 45), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:51.389683 [ 46572 ] {4ec35675-53f2-4a20-8b43-16c56c9b97f1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.073755 [ 46578 ] {b30103c8-b5dc-4788-9bb2-e2260f431738} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_51_51_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40838) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.079983 [ 46578 ] {b30103c8-b5dc-4788-9bb2-e2260f431738} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_51_51_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.846232 [ 46578 ] {aedcf63e-f9c1-416a-8f55-8bb7f118a02f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_52_52_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40908) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.852258 [ 46578 ] {aedcf63e-f9c1-416a-8f55-8bb7f118a02f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_52_52_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.968577 [ 46575 ] {dbd4f0a3-90fe-4976-a9fe-4a632c6a57c7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_52_52_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40922) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 39), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.972964 [ 46574 ] {34b87142-4871-4eda-a1c0-6a60b2d718fe} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_52_52_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40930) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 46), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.975787 [ 46575 ] {dbd4f0a3-90fe-4976-a9fe-4a632c6a57c7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_52_52_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:52.979721 [ 46574 ] {34b87142-4871-4eda-a1c0-6a60b2d718fe} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_52_52_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.692657 [ 46578 ] {447e0048-26be-426a-b972-05aeba78d8d7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39020) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.698170 [ 46578 ] {447e0048-26be-426a-b972-05aeba78d8d7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.740392 [ 46579 ] {1e0b4324-8d7c-4a82-b571-fdb8943f9b2a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39032) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 39), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.740491 [ 46574 ] {26fc27d0-2e26-4e5c-b04b-1b5a26262d89} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39036) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 46), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.746528 [ 46579 ] {1e0b4324-8d7c-4a82-b571-fdb8943f9b2a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.746599 [ 46574 ] {26fc27d0-2e26-4e5c-b04b-1b5a26262d89} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.835946 [ 46575 ] {d6171974-9cb6-49ef-a0a8-ea4c56beb8ba} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39046) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 45), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.844305 [ 46575 ] {d6171974-9cb6-49ef-a0a8-ea4c56beb8ba} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.892329 [ 46576 ] {5841dff5-b7fc-4eee-9b6c-b3bcd5118bc5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39054) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 44), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.894700 [ 46572 ] {8a3300c8-bbb6-4a12-bf48-565c0b88f64c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39066) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.897804 [ 46576 ] {5841dff5-b7fc-4eee-9b6c-b3bcd5118bc5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:53.903003 [ 46572 ] {8a3300c8-bbb6-4a12-bf48-565c0b88f64c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_53_53_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:54.674191 [ 46578 ] {292afdd9-a9c3-43e4-80f7-83bb3477f5f9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39122) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 45), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:54.681868 [ 46578 ] {292afdd9-a9c3-43e4-80f7-83bb3477f5f9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:54.767246 [ 46577 ] {c8918945-d381-46b8-bc70-75416eeccde8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39130) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 44), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:54.774757 [ 46577 ] {c8918945-d381-46b8-bc70-75416eeccde8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:54.818760 [ 46575 ] {e5b2cf0f-f295-4762-8eb0-8f49beac7285} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39134) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:54.825488 [ 46575 ] {e5b2cf0f-f295-4762-8eb0-8f49beac7285} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:55.508667 [ 45336 ] {1d4701fe-e540-440a-af89-2a9ffb889c20} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_55_55_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39212) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 44), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:55.513978 [ 45336 ] {1d4701fe-e540-440a-af89-2a9ffb889c20} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_55_55_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:55.528493 [ 46575 ] {4f65fe5e-a6d3-46d7-b65b-211723edc00b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_55_55_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39226) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:55.535064 [ 46575 ] {4f65fe5e-a6d3-46d7-b65b-211723edc00b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_55_55_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:56.569718 [ 46573 ] {4c9cd1f0-a3b1-4cf3-95ad-c570f384967a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_56_56_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39334) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:56.576495 [ 46573 ] {4c9cd1f0-a3b1-4cf3-95ad-c570f384967a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_56_56_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:57.361690 [ 46578 ] {b72895b0-43ba-490a-90ed-9b45c6442776} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_57_57_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39404) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:57.372167 [ 46578 ] {b72895b0-43ba-490a-90ed-9b45c6442776} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_57_57_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:58.275492 [ 45336 ] {5234dd21-e779-4a7d-acba-4405502d8b44} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39538) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 47), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:58.284481 [ 45336 ] {5234dd21-e779-4a7d-acba-4405502d8b44} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:58.285237 [ 46578 ] {44c8343a-8af1-4b36-9b20-646f3b811331} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39524) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 51), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:58.295552 [ 46578 ] {44c8343a-8af1-4b36-9b20-646f3b811331} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:59.094339 [ 46574 ] {e259fba1-0da3-4f1c-8da3-09f80653599f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_59_59_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39622) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 51), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:47:59.100969 [ 46574 ] {e259fba1-0da3-4f1c-8da3-09f80653599f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_59_59_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:00.102752 [ 46577 ] {fd8c2c2c-699e-49fb-9d57-ad8bda53a5fc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_60_60_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39710) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 43), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:00.109275 [ 46577 ] {fd8c2c2c-699e-49fb-9d57-ad8bda53a5fc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_60_60_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:01.788211 [ 46573 ] {a977e442-1c9a-4959-939b-37f7f8ecfa16} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_62_62_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39914) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 44), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:01.797015 [ 46573 ] {a977e442-1c9a-4959-939b-37f7f8ecfa16} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_62_62_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.645323 [ 46575 ] {5286944a-231c-41f2-a603-bd48ca9af743} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39990) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 44), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.645873 [ 46574 ] {b6376c8c-b6d4-430c-a0a8-af7d2b06f8b5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40004) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 56), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.652937 [ 46574 ] {b6376c8c-b6d4-430c-a0a8-af7d2b06f8b5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.653906 [ 46575 ] {5286944a-231c-41f2-a603-bd48ca9af743} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.694664 [ 46572 ] {b5d988c2-ad26-4991-927b-dcfda5ecb435} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40012) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 49), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.709996 [ 46572 ] {b5d988c2-ad26-4991-927b-dcfda5ecb435} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.761452 [ 46577 ] {dce5bab4-f90b-4d3c-a919-03976c809679} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40018) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 52), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.768989 [ 46577 ] {dce5bab4-f90b-4d3c-a919-03976c809679} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.771018 [ 45336 ] {96529c53-a284-49e9-aa9d-4295ab0dd1d8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40016) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 56), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.778323 [ 45336 ] {96529c53-a284-49e9-aa9d-4295ab0dd1d8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.785644 [ 46579 ] {fbfe5894-4001-4179-ac99-fe8d3d1c55bd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40030) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:02.791148 [ 46579 ] {fbfe5894-4001-4179-ac99-fe8d3d1c55bd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:03.415661 [ 46572 ] {8220a9e8-eb01-4775-a0dd-22aeb1d96e70} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40688) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 44), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:03.422223 [ 46572 ] {8220a9e8-eb01-4775-a0dd-22aeb1d96e70} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:03.508176 [ 45336 ] {c00219a6-280a-41ab-b116-a549eae28303} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40702) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 49), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:03.514636 [ 45336 ] {c00219a6-280a-41ab-b116-a549eae28303} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:03.600202 [ 46579 ] {30d7940c-2d1a-4d7b-a9f4-57f7465dcb63} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40710) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 52), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:03.606870 [ 46579 ] {30d7940c-2d1a-4d7b-a9f4-57f7465dcb63} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:04.361297 [ 46575 ] {71f5f4a4-872c-4572-956b-6e94d92d4b43} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40822) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 52), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:04.368565 [ 46575 ] {71f5f4a4-872c-4572-956b-6e94d92d4b43} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:05.264929 [ 46575 ] {8b56d376-bd4d-48e4-86ad-a5f8559458bc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40942) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 56), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:05.271453 [ 46575 ] {8b56d376-bd4d-48e4-86ad-a5f8559458bc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:06.082922 [ 46574 ] {eabf489e-9b6d-4640-930e-593f04322b5b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_67_67_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41048) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 56), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:06.094800 [ 46574 ] {eabf489e-9b6d-4640-930e-593f04322b5b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_67_67_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:07.067026 [ 46583 ] {5edcaf45-ade1-46ae-b038-dc9e8df7806f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_68_68_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41134) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:07.079919 [ 46583 ] {5edcaf45-ade1-46ae-b038-dc9e8df7806f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_68_68_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:07.816539 [ 46573 ] {6e52cdc6-5d37-43b6-8985-e5ff8b52805e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_69_69_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41230) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:07.825630 [ 46573 ] {6e52cdc6-5d37-43b6-8985-e5ff8b52805e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_69_69_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:08.742786 [ 46573 ] {fb6dd031-de14-482f-922f-0e114112d157} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_70_70_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41312) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:08.748416 [ 46573 ] {fb6dd031-de14-482f-922f-0e114112d157} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_70_70_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:09.544012 [ 46583 ] {1ccc3f15-cba8-4c5e-ae6e-d4ad5188be48} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_71_71_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41412) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:09.550782 [ 46583 ] {1ccc3f15-cba8-4c5e-ae6e-d4ad5188be48} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_71_71_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:10.342848 [ 43459 ] {9e3c0963-fb5b-4ce6-a585-e65f45322b62} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41488) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:10.351119 [ 43459 ] {9e3c0963-fb5b-4ce6-a585-e65f45322b62} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:10.439188 [ 46583 ] {f636119a-60ba-4664-ad5d-525afa08d6d1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41496) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:10.458693 [ 46583 ] {f636119a-60ba-4664-ad5d-525afa08d6d1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:11.260329 [ 46583 ] {19dd49b8-3d03-4e7a-aca7-8f60edaae002} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41576) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 65), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:11.265908 [ 46596 ] {c37915e1-e725-41eb-a4c4-c2fb17db1aca} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41588) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:11.271728 [ 46596 ] {c37915e1-e725-41eb-a4c4-c2fb17db1aca} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:11.282804 [ 46583 ] {19dd49b8-3d03-4e7a-aca7-8f60edaae002} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:11.420210 [ 46577 ] {a550b978-8c34-414d-8e44-fe9a85a9c321} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41594) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 53), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:11.428244 [ 46577 ] {a550b978-8c34-414d-8e44-fe9a85a9c321} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:12.251511 [ 46583 ] {49a020f8-8f63-42be-8b1e-67c6b433b60f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41700) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 53), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:12.261133 [ 46583 ] {49a020f8-8f63-42be-8b1e-67c6b433b60f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:12.271292 [ 43459 ] {4edfa0c7-422f-4f8b-997a-08264e315a2b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41712) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 59), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:12.279841 [ 43459 ] {4edfa0c7-422f-4f8b-997a-08264e315a2b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:12.306131 [ 46574 ] {7dc6b81c-53a9-441a-9453-55cf0a2a931e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41722) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 67), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:12.313914 [ 46574 ] {7dc6b81c-53a9-441a-9453-55cf0a2a931e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.025783 [ 46579 ] {04aa0352-901b-4fe7-8110-e0602a2f04f3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41794) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 53), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.035408 [ 46579 ] {04aa0352-901b-4fe7-8110-e0602a2f04f3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.081088 [ 46572 ] {629e01cd-acad-4eee-82e2-b907d7420e90} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41798) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 67), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.089118 [ 46572 ] {629e01cd-acad-4eee-82e2-b907d7420e90} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.118166 [ 46573 ] {6e0cef33-b915-48e2-9cb7-2a770f7a6df9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41802) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 59), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.126761 [ 46573 ] {6e0cef33-b915-48e2-9cb7-2a770f7a6df9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.797304 [ 46578 ] {836ab724-294b-4a82-87e0-3d46f443daee} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36460) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 53), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.804068 [ 46578 ] {836ab724-294b-4a82-87e0-3d46f443daee} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.854050 [ 46572 ] {ae3efc6f-6264-476d-828a-aa3bcd435baf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36474) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 67), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.871470 [ 46572 ] {ae3efc6f-6264-476d-828a-aa3bcd435baf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.904177 [ 46574 ] {d2a71068-a89a-44f1-9e0d-655c1ec8fdcf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36480) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 59), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:13.909697 [ 46574 ] {d2a71068-a89a-44f1-9e0d-655c1ec8fdcf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:16.563127 [ 46577 ] {e1009df8-4916-48e3-921c-2e80a00f13cf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_79_79_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36772) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:16.569790 [ 46577 ] {e1009df8-4916-48e3-921c-2e80a00f13cf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_79_79_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:19.308994 [ 46575 ] {dc3e7126-27ec-4f92-990e-a19ad72b5db3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r2 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37062) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 71), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:19.323463 [ 46575 ] {dc3e7126-27ec-4f92-990e-a19ad72b5db3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r2 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.111657 [ 46572 ] {797dc8c6-1ada-4236-80fd-a7b999c1c4ae} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37166) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 71), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.122172 [ 46572 ] {797dc8c6-1ada-4236-80fd-a7b999c1c4ae} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.226457 [ 46575 ] {0620b558-507a-4cb4-905e-c196b9b934e2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37192) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 70), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.227769 [ 46573 ] {091ed932-f70b-43ed-9a1f-d86004875c29} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37204) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 72), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.238357 [ 46575 ] {0620b558-507a-4cb4-905e-c196b9b934e2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.240717 [ 46573 ] {091ed932-f70b-43ed-9a1f-d86004875c29} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.246480 [ 45336 ] {04c163b9-6292-4c69-a9cf-90a6c3c0f54e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37182) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.253766 [ 45336 ] {04c163b9-6292-4c69-a9cf-90a6c3c0f54e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.334714 [ 46579 ] {c8972481-661b-4f1e-b2e1-e243e948929f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37216) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:20.341859 [ 46579 ] {c8972481-661b-4f1e-b2e1-e243e948929f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.020840 [ 46575 ] {93ad0abc-f751-4216-a177-905458a62901} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37292) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 70), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.027683 [ 46575 ] {93ad0abc-f751-4216-a177-905458a62901} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.068492 [ 46578 ] {66e1400f-9ef3-4e42-aacb-50de8c183a07} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37294) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 72), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.076939 [ 46578 ] {66e1400f-9ef3-4e42-aacb-50de8c183a07} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.113868 [ 46573 ] {5bb190f2-0e54-4420-9fb1-dd3b6b1c7dbb} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37302) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.121400 [ 46573 ] {5bb190f2-0e54-4420-9fb1-dd3b6b1c7dbb} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.186639 [ 46583 ] {a69a6e68-edcc-433b-bd1c-a61504d1558d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37316) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.195683 [ 46583 ] {a69a6e68-edcc-433b-bd1c-a61504d1558d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_84_84_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.826157 [ 46575 ] {7527b4c3-bf19-4ba5-8c8a-fde2800e3882} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37394) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 72), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.831439 [ 46575 ] {7527b4c3-bf19-4ba5-8c8a-fde2800e3882} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.867911 [ 46578 ] {59a820e3-0019-4113-b600-2ee1b76d3305} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37400) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 75), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.875836 [ 46578 ] {59a820e3-0019-4113-b600-2ee1b76d3305} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.914302 [ 46573 ] {4d1209c5-2182-4c8b-8118-cf757ef9f320} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37412) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.920119 [ 46573 ] {4d1209c5-2182-4c8b-8118-cf757ef9f320} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.955812 [ 46583 ] {5642e236-947f-4f38-8e46-ba1884fa5677} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37420) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:21.970363 [ 46583 ] {5642e236-947f-4f38-8e46-ba1884fa5677} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.035352 [ 43459 ] {2a17fd64-6314-4b8e-a066-4278e12e1f16} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37436) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.041871 [ 43459 ] {2a17fd64-6314-4b8e-a066-4278e12e1f16} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r6 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.786957 [ 46579 ] {c8842c09-6b96-4a76-9c81-5ac30310188a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37492) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.793678 [ 46579 ] {c8842c09-6b96-4a76-9c81-5ac30310188a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.827424 [ 46575 ] {cbc91366-02ab-4848-8f33-10aff99eb2d6} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37500) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.834636 [ 46575 ] {cbc91366-02ab-4848-8f33-10aff99eb2d6} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.909646 [ 46573 ] {dc745efb-186e-4f91-b529-e250d03cc3ab} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37512) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 77), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:22.919194 [ 46573 ] {dc745efb-186e-4f91-b529-e250d03cc3ab} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:23.929547 [ 46583 ] {a0c6fe0d-d15b-46aa-9c4d-690024969aa8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46716) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 69), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:23.941890 [ 46583 ] {a0c6fe0d-d15b-46aa-9c4d-690024969aa8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:24.632389 [ 46574 ] {fb55c35f-4f69-4250-a4ad-aa277c89da16} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_88_88_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46802) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 69), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:24.638329 [ 46574 ] {fb55c35f-4f69-4250-a4ad-aa277c89da16} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_88_88_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:26.266077 [ 46574 ] {737ae7a2-592b-4563-8d08-4746d4d1edc4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46970) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 70), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:26.271340 [ 46574 ] {737ae7a2-592b-4563-8d08-4746d4d1edc4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:26.431883 [ 46577 ] {b64aed9e-8c5b-47eb-9f9c-d57b1c9d2aa2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46976) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 77), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:26.441488 [ 46577 ] {b64aed9e-8c5b-47eb-9f9c-d57b1c9d2aa2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:26.482218 [ 46583 ] {07ef8762-31d9-4da3-b282-d1caeedc148d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46990) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:26.488001 [ 46583 ] {07ef8762-31d9-4da3-b282-d1caeedc148d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:27.161293 [ 46583 ] {0fca0a2a-23ae-47f0-a967-48a7abd22d77} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47054) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 77), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:27.167774 [ 46583 ] {0fca0a2a-23ae-47f0-a967-48a7abd22d77} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:27.226764 [ 46596 ] {0a571086-7ce6-466f-ada8-ef214111c17c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47070) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:27.242669 [ 46596 ] {0a571086-7ce6-466f-ada8-ef214111c17c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:27.898936 [ 46574 ] {27ca9f55-b7a0-4a15-9ed0-8326dde58c7c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_92_92_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47148) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:27.905557 [ 46574 ] {27ca9f55-b7a0-4a15-9ed0-8326dde58c7c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_92_92_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:28.883012 [ 46575 ] {0e6cd09a-ac92-426f-a762-34fa27b14d09} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47222) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:28.888889 [ 46575 ] {0e6cd09a-ac92-426f-a762-34fa27b14d09} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:28.897523 [ 46576 ] {28c8a185-ad66-4cc1-a848-c625de6185ab} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47224) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:28.904799 [ 46576 ] {28c8a185-ad66-4cc1-a848-c625de6185ab} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:28.914582 [ 46573 ] {06de8a5a-679d-4417-918d-b2497ad77cec} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r4 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47228) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 81), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:28.921439 [ 46573 ] {06de8a5a-679d-4417-918d-b2497ad77cec} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r4 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.567212 [ 46575 ] {615de2ad-f551-4d5e-b9ae-b8b12b6205bc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47326) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.572285 [ 46578 ] {a1a04297-e998-4b27-b4a9-a35ada3e61e0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47312) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.574419 [ 46575 ] {615de2ad-f551-4d5e-b9ae-b8b12b6205bc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.578193 [ 46578 ] {a1a04297-e998-4b27-b4a9-a35ada3e61e0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.605990 [ 46576 ] {6d46ab53-30eb-40f7-942d-529bdc87df13} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47340) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 81), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.611892 [ 46576 ] {6d46ab53-30eb-40f7-942d-529bdc87df13} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.733619 [ 46573 ] {ff419aa8-eb49-4078-9947-341afb0e2bd4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47342) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 85), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.742028 [ 46573 ] {ff419aa8-eb49-4078-9947-341afb0e2bd4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.758024 [ 46577 ] {3c42d653-9057-437c-a321-0bf77a502a2a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47346) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 84), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.764004 [ 46577 ] {3c42d653-9057-437c-a321-0bf77a502a2a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.783922 [ 45336 ] {bf926057-9e1b-43a2-be24-562a29fdca0a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r4 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47362) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:29.789627 [ 45336 ] {bf926057-9e1b-43a2-be24-562a29fdca0a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r4 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:30.481914 [ 45336 ] {457c70d9-7f35-4b26-b477-8a20c422eac6} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47436) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 85), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:30.489214 [ 45336 ] {457c70d9-7f35-4b26-b477-8a20c422eac6} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:30.501900 [ 46583 ] {afdb7f67-462d-45d4-9765-350e995017fd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47450) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:30.513037 [ 46583 ] {afdb7f67-462d-45d4-9765-350e995017fd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:30.522973 [ 46574 ] {4f05f8e8-4c8c-4179-848a-0742ad34cf77} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47462) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 84), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:30.531803 [ 46574 ] {4f05f8e8-4c8c-4179-848a-0742ad34cf77} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:31.248788 [ 45336 ] {8ee4afe3-114e-446a-93d4-0fd4d1afe594} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47558) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 85), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:31.254760 [ 45336 ] {8ee4afe3-114e-446a-93d4-0fd4d1afe594} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:31.364382 [ 46583 ] {26fa1d8b-7371-440e-bb81-e07825ae37b1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47570) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:31.369790 [ 46583 ] {26fa1d8b-7371-440e-bb81-e07825ae37b1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:31.407946 [ 46596 ] {370f4335-9e23-46e1-b579-947711b14842} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47586) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 84), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:31.414522 [ 46596 ] {370f4335-9e23-46e1-b579-947711b14842} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:32.030542 [ 46574 ] {141dfa34-839b-47a9-b4c3-892f800eeb1f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47672) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:32.036832 [ 46574 ] {141dfa34-839b-47a9-b4c3-892f800eeb1f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:32.223567 [ 48553 ] {26f8c748-0ff3-4a4a-a57f-4c46c25c3201} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47676) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 84), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:32.233380 [ 48553 ] {26f8c748-0ff3-4a4a-a57f-4c46c25c3201} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r3 r5 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:32.921290 [ 46576 ] {78522eab-1268-42dc-9ab9-5040c5ff9629} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_98_98_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47766) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 84), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:48:32.927500 [ 46576 ] {78522eab-1268-42dc-9ab9-5040c5ff9629} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_98_98_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a7557b5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000003d9984a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000003d9932e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:236: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000003d95e777 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d957b4e in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee655b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb9f980 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb9f4ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb9e92c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:49:11.075026 [ 727 ] {} test_v11t9dh5.r1 (ReplicatedMergeTreeCleanupThread): Will mark replica 2r1 as lost, because it has stale log pointer: log-0000000000 2024.12.17 03:50:21.904200 [ 795 ] {} test_v11t9dh5.r2 (57894f64-0c63-4fad-8240-f44aea6c204b): Will mimic 1r1 2024.12.17 03:51:09.854201 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_1161_1260_1}: Code: 234. DB::Exception: No active replica has part all_1161_1260_1 or covering part (cannot execute queue-0000004409: MERGE_PARTS with virtual parts [all_1161_1260_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:51:23.765377 [ 927 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_1462_1562_1}: Code: 234. DB::Exception: No active replica has part all_1462_1562_1 or covering part (cannot execute queue-0000004412: MERGE_PARTS with virtual parts [all_1462_1562_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:51:27.778727 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_1765_1864_1}: Code: 234. DB::Exception: No active replica has part all_1765_1864_1 or covering part (cannot execute queue-0000004415: MERGE_PARTS with virtual parts [all_1765_1864_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:51:43.133383 [ 926 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_1895_1995_1}: Code: 234. DB::Exception: No active replica has part all_1895_1995_1 or covering part (cannot execute queue-0000004418: MERGE_PARTS with virtual parts [all_1895_1995_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:51:52.947052 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_2707_2725_1}: Code: 234. DB::Exception: No active replica has part all_2707_2725_1 or covering part (cannot execute queue-0000004427: MERGE_PARTS with virtual parts [all_2707_2725_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:51:57.429616 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_2760_2860_1}: Code: 234. DB::Exception: No active replica has part all_2760_2860_1 or covering part (cannot execute queue-0000004430: MERGE_PARTS with virtual parts [all_2760_2860_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:51:59.193275 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_2962_3061_1}: Code: 234. DB::Exception: No active replica has part all_2962_3061_1 or covering part (cannot execute queue-0000004432: MERGE_PARTS with virtual parts [all_2962_3061_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:52:06.118920 [ 928 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_3568_3670_1}: Code: 234. DB::Exception: No active replica has part all_3568_3670_1 or covering part (cannot execute queue-0000004438: MERGE_PARTS with virtual parts [all_3568_3670_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:52:12.650391 [ 926 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {57894f64-0c63-4fad-8240-f44aea6c204b::all_4477_4576_1}: Code: 234. DB::Exception: No active replica has part all_4477_4576_1 or covering part (cannot execute queue-0000004447: MERGE_PARTS with virtual parts [all_4477_4576_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000035303c1e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000003c02c930 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d7b9699 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d7b69e5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce2a38b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce2c92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce33edf in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.485504 [ 922 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.486643 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.553490 [ 919 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.554122 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.614674 [ 921 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.615976 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.664417 [ 930 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.665213 [ 930 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.719020 [ 924 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:33.719721 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:34.354802 [ 931 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:34.355349 [ 931 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:34.693819 [ 926 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:34.694381 [ 926 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:35.801457 [ 930 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:35.802165 [ 930 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:36.920494 [ 928 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:36.921079 [ 928 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:37.319084 [ 923 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:37.319806 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:38.348937 [ 930 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:38.349479 [ 930 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:38.539204 [ 920 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:38.539902 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:38.741189 [ 929 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:38.741792 [ 929 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:39.478048 [ 927 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:39.478610 [ 927 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:40.251982 [ 921 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:40.252600 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:40.516947 [ 922 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:40.517660 [ 922 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:40.856134 [ 919 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:40.856702 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:41.749951 [ 923 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:41.750516 [ 923 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:42.573478 [ 919 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:42.574203 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000963b2dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009603935 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fcc22 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000095fb522 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:42.837892 [ 918 ] {} test_ub8094s7.mutation_table (ReplicatedMergeTreeQueue): Mutation with version 1 not found in partition ID 0 (trying to mutate part 0_0_0_0) 2024.12.17 03:53:43.534029 [ 927 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:43.534627 [ 927 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:44.006727 [ 927 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:44.007408 [ 927 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:44.290255 [ 918 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:44.290933 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:44.832400 [ 928 ] {} 8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:44.832934 [ 928 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8b95bcca-9d17-489f-8b73-401e74be7fec::0_0_0_0_2}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/8b9/8b95bcca-9d17-489f-8b73-401e74be7fec/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x00000000094381d4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x00000000095c74dc in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009591855 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000958ab42 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009589442 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c29f8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093c00ba in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009469009 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000037c5c803 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/inplaceBlockConversions.cpp:0: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003a9f5be8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:207: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000003d4886db in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4bbf17 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d697557 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6ee7ca in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:47.032548 [ 46596 ] {94c1e84c-877a-48a1-9a67-ed9cc89c6639} executeQuery: Code: 511. DB::Exception: There is no role `r2_01293` in user directories. (UNKNOWN_ROLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46412) (comment: 01293_create_role.sql) (in query: SHOW CREATE ROLE r2_01293;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x000000003ab90a04 in /usr/bin/clickhouse 6. ./build_docker/./contrib/abseil-cpp/absl/container/internal/compressed_tuple.h:108: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x000000003ab8d3ee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x000000003ab8b081 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x000000003ab8af44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:47.034460 [ 46596 ] {94c1e84c-877a-48a1-9a67-ed9cc89c6639} TCPHandler: Code: 511. DB::Exception: There is no role `r2_01293` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000bf2b875 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000035c865e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000035c863b7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x000000003ab90a04 in /usr/bin/clickhouse 6. ./build_docker/./contrib/abseil-cpp/absl/container/internal/compressed_tuple.h:108: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x000000003ab8d3ee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x000000003ab8b081 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x000000003ab8af44 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:49.819178 [ 46582 ] {e849a68b-59d6-4efc-9c45-6208ef1ec606} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46422) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY x SET y = max(y) SETTINGS index_granularity = 45717, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11709, prefer_fetch_merged_part_size_threshold = 10604595215, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8592036, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 77474, primary_key_compress_block_size = 31441), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54af5e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:49.822657 [ 46582 ] {e849a68b-59d6-4efc-9c45-6208ef1ec606} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54af5e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:49.897655 [ 46582 ] {fffd8c30-9842-462a-aa6c-12fbe23ba376} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46422) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY b SET y = max(y) SETTINGS index_granularity = 45717, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11709, prefer_fetch_merged_part_size_threshold = 10604595215, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8592036, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 77474, primary_key_compress_block_size = 31441), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54af5e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:49.900704 [ 46582 ] {fffd8c30-9842-462a-aa6c-12fbe23ba376} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54af5e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:50.382667 [ 46582 ] {d923e534-7963-4bf7-958c-2a0da7fb7dff} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46422) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY a, b, x SET y = max(y) SETTINGS index_granularity = 45717, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11709, prefer_fetch_merged_part_size_threshold = 10604595215, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8592036, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 77474, primary_key_compress_block_size = 31441), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:207: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b149 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:50.386427 [ 46582 ] {d923e534-7963-4bf7-958c-2a0da7fb7dff} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000ae60c57 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:207: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b149 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:50.878785 [ 46582 ] {c4538c08-d01f-43bb-a8d9-3acb5b1cb588} executeQuery: Code: 450. DB::Exception: Multiple aggregations set for one column in TTL Expression. (BAD_TTL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46422) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY a, b SET y = max(y), y = max(y) SETTINGS index_granularity = 45717, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11709, prefer_fetch_merged_part_size_threshold = 10604595215, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8592036, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 77474, primary_key_compress_block_size = 31441), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:239: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b1fb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:50.881882 [ 46582 ] {c4538c08-d01f-43bb-a8d9-3acb5b1cb588} TCPHandler: Code: 450. DB::Exception: Multiple aggregations set for one column in TTL Expression. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x000000000c5b97b7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:239: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54b1fb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000003c54e43d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003da0465f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000003573531a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bc080ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393f41f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb2a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:53:56.951113 [ 46596 ] {c196d3ce-4a99-4a5a-ab30-f7cbbf8b36d6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46436) (comment: 01268_dictionary_direct_layout.sql) (in query: SELECT dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. DB::SourceFromQueryPipeline::generate() @ 0x000000002c6222d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 20. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000002c600265 in /usr/bin/clickhouse 21. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c6067aa in /usr/bin/clickhouse 22. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 23. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 24. DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae9780a in /usr/bin/clickhouse 25. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 26. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 27. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 28. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 29. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 30. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 31. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 2024.12.17 03:53:56.953754 [ 46596 ] {c196d3ce-4a99-4a5a-ab30-f7cbbf8b36d6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000036ac6a97 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036ac5ebc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036ac60ac in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000003ebd7deb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 12. DB::SourceFromQueryPipeline::generate() @ 0x000000002c6222d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 20. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x000000002c600265 in /usr/bin/clickhouse 21. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000002c6067aa in /usr/bin/clickhouse 22. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000ae567e1 in /usr/bin/clickhouse 23. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae4c422 in /usr/bin/clickhouse 24. DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae9780a in /usr/bin/clickhouse 25. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c3142 in /usr/bin/clickhouse 26. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093c2a78 in /usr/bin/clickhouse 27. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bca9a in /usr/bin/clickhouse 28. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bb760 in /usr/bin/clickhouse 29. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bc976 in /usr/bin/clickhouse 30. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352beb85 in /usr/bin/clickhouse 31. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 2024.12.17 03:53:59.528997 [ 3958 ] {77c1dee2-db4f-4308-97d9-06b09e4cd1bc} ExternalDictionariesLoader: Could not load external dictionary '4a4c821f-497c-497b-afd3-88465858eee1', next update is scheduled at 2024-12-17 03:54:04: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009e04d37 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a28071b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2800e4 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x000000002b42455c in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b4231a1 in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d12c9 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3d39f7 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 23. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:53:59.534200 [ 46582 ] {77c1dee2-db4f-4308-97d9-06b09e4cd1bc} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21': while executing 'FUNCTION dictHas('test_dict_db.table1_dict' :: 5, tuple(col1, col2, col3, col4, col5) : 6) -> dictHas('test_dict_db.table1_dict', tuple(col1, col2, col3, col4, col5)) UInt8 : 4'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59568) (comment: 01257_dictionary_mismatch_types.sql) (in query: SELECT dictGet('test_dict_db.table1_dict', 'col6', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col7', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col8', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col9', (col1, col2, col3, col4, col5)) FROM test_dict_db.table1 WHERE dictHas('test_dict_db.table1_dict', (col1, col2, col3, col4, col5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009e04d37 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a28071b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2800e4 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x000000002b42455c in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b4231a1 in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d12c9 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3d39f7 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 23. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 2024.12.17 03:53:59.539077 [ 46582 ] {77c1dee2-db4f-4308-97d9-06b09e4cd1bc} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21': while executing 'FUNCTION dictHas('test_dict_db.table1_dict' :: 5, tuple(col1, col2, col3, col4, col5) : 6) -> dictHas('test_dict_db.table1_dict', tuple(col1, col2, col3, col4, col5)) UInt8 : 4'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009e04d37 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a28071b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2800e4 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000940cd78 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bcc7d in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352bed63 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352c4f31 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c58761 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eba17db in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b049341 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1c463e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1facc7 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e23693f in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e236b7f in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x000000002b42455c in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b4231a1 in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d12c9 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3d39f7 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 23. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 2024.12.17 03:55:51.829537 [ 46582 ] {216ee36e-e3f7-4eff-b78a-a6f138091732} executeQuery: Code: 60. DB::Exception: Table `test_01191`.`table` doesn't exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59204) (comment: 01191_rename_dictionary.sql) (in query: RENAME DICTIONARY test_01191.table TO test_01191.table1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8f1e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:51.832729 [ 46582 ] {216ee36e-e3f7-4eff-b78a-a6f138091732} TCPHandler: Code: 60. DB::Exception: Table `test_01191`.`table` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8f1e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:52.138366 [ 46582 ] {c0c20c9f-c8d8-4a65-9112-09a0bdd8af37} executeQuery: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59204) (comment: 01191_rename_dictionary.sql) (in query: EXCHANGE DICTIONARIES test_01191._ AND test_01191.dict;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370cb88c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:52.141183 [ 46582 ] {c0c20c9f-c8d8-4a65-9112-09a0bdd8af37} TCPHandler: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370cb88c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:52.488233 [ 46582 ] {4c57f687-4517-4c06-a211-0bc31b82a14b} executeQuery: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59204) (comment: 01191_rename_dictionary.sql) (in query: RENAME DICTIONARY test_01191.t TO test_01191.dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370cb88c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:52.489945 [ 46582 ] {4c57f687-4517-4c06-a211-0bc31b82a14b} TCPHandler: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ae05957 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370cb88c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:52.785033 [ 46582 ] {3035fadd-09f4-4780-a093-9b52c9b5c115} executeQuery: Code: 80. DB::Exception: Table test_01191.t is not a Dictionary. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59204) (comment: 01191_rename_dictionary.sql) (in query: DROP DICTIONARY test_01191.t;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:135: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003964a1aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:52.787134 [ 46582 ] {3035fadd-09f4-4780-a093-9b52c9b5c115} TCPHandler: Code: 80. DB::Exception: Table test_01191.t is not a Dictionary. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:135: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003964a1aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:54.575681 [ 46596 ] {1cdfdb23-438d-4a83-af1e-590eac156078} executeQuery: Code: 60. DB::Exception: Table `test_ketixowi`.`t1` doesn't exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58618) (comment: 01185_create_or_replace_table.sql) (in query: replace table t1 (n UInt64, s String) engine=MergeTree order by n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c943e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x00000000393eb20f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1271: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb04 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:55:54.578035 [ 46596 ] {1cdfdb23-438d-4a83-af1e-590eac156078} TCPHandler: Code: 60. DB::Exception: Table `test_ketixowi`.`t1` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c943e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x00000000393eb20f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1271: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dbb04 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 19. ? @ 0x00007fe21c2faac3 in ? 20. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:22.751104 [ 46582 ] {48db1448-1bd7-479d-a733-24e9697e2932} executeQuery: Code: 48. DB::Exception: Value 5 of setting distributed_ddl_entry_format_version is incompatible with cross-replication. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45156) (comment: 01152_cross_replication.sql) (in query: CREATE TABLE demo_loan_01568 ON CLUSTER test_cluster_two_shards_different_databases ( `id` Int64 COMMENT 'id', `date_stat` Date COMMENT 'date of stat', `customer_no` String COMMENT 'customer no', `loan_principal` Float64 COMMENT 'loan principal' ) ENGINE=ReplacingMergeTree() ORDER BY id PARTITION BY toYYYYMM(date_stat);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&>(int, FormatStringHelperImpl&>::type>, DB::SettingFieldNumber&) @ 0x00000000394108d8 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1665: DB::InterpreterCreateQuery::prepareOnClusterQuery(DB::ASTCreateQuery&, std::shared_ptr, String const&) @ 0x00000000394028e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1703: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x00000000393e6b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1262: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dad4e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:22.754905 [ 46582 ] {48db1448-1bd7-479d-a733-24e9697e2932} TCPHandler: Code: 48. DB::Exception: Value 5 of setting distributed_ddl_entry_format_version is incompatible with cross-replication. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&>(int, FormatStringHelperImpl&>::type>, DB::SettingFieldNumber&) @ 0x00000000394108d8 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1665: DB::InterpreterCreateQuery::prepareOnClusterQuery(DB::ASTCreateQuery&, std::shared_ptr, String const&) @ 0x00000000394028e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1703: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x00000000393e6b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1262: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393dad4e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f7c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:22.854255 [ 1020 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000024: localhost:9000 and localhost:9000. Will use the first one only. 2024.12.17 03:56:22.864558 [ 1020 ] {} DDLWorker: Cannot parse DDL task query-0000000024: Cannot parse query or obtain cluster info. Will try to send error status: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:56:23.161538 [ 46582 ] {08a2819f-e5d3-42d6-9b31-ec54f5dc4be3} executeQuery: Code: 371. DB::Exception: There was an error on [localhost:9000]: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.16.43.altinitystable (altinity build)). (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45156) (comment: 01152_cross_replication.sql) (in query: CREATE TABLE demo_loan_01568 ON CLUSTER test_cluster_two_shards_different_databases ( `id` Int64 COMMENT 'id', `date_stat` Date COMMENT 'date of stat', `customer_no` String COMMENT 'customer no', `loan_principal` Float64 COMMENT 'loan principal' ) ENGINE=ReplacingMergeTree() ORDER BY id PARTITION BY toYYYYMM(date_stat);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:23.165137 [ 46582 ] {08a2819f-e5d3-42d6-9b31-ec54f5dc4be3} TCPHandler: Code: 371. DB::Exception: There was an error on [localhost:9000]: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.16.43.altinitystable (altinity build)). (INCONSISTENT_CLUSTER_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000003a97288a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a95fac8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1cc29c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1cbb2c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1f76ad in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:23.249966 [ 1020 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000025: localhost:9000 and localhost:9000. Will use the first one only. 2024.12.17 03:56:23.572086 [ 1020 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000026: localhost:9000 and localhost:9000. Will use the first one only. 2024.12.17 03:56:29.525274 [ 49347 ] {e64f4a45-fed6-4106-8de4-d73e0b72d86b} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57496) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:29.528006 [ 49347 ] {e64f4a45-fed6-4106-8de4-d73e0b72d86b} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:30.022753 [ 49347 ] {eb81e14d-3324-496f-b01d-ec4f612e61b8} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57524) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:30.025486 [ 49347 ] {eb81e14d-3324-496f-b01d-ec4f612e61b8} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:31.092410 [ 49347 ] {24ec85a8-12d4-464e-86fd-af881d1a6fec} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57570) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:31.094641 [ 49347 ] {24ec85a8-12d4-464e-86fd-af881d1a6fec} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:31.834891 [ 49347 ] {4f426bfc-4756-4564-9d32-86a6abb2dfa3} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57580) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:31.837189 [ 49347 ] {4f426bfc-4756-4564-9d32-86a6abb2dfa3} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:32.757311 [ 49348 ] {b1218dc2-9e6e-4c1c-bc7b-49f728445071} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57632) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:32.760900 [ 49348 ] {b1218dc2-9e6e-4c1c-bc7b-49f728445071} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:33.232562 [ 49348 ] {6931ca71-f475-40e7-9983-2392d3f61be2} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48182) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:33.234731 [ 49348 ] {6931ca71-f475-40e7-9983-2392d3f61be2} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:33.758079 [ 49347 ] {0413d0a3-ec4d-4ca3-8cec-669404091463} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48210) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:33.760170 [ 49347 ] {0413d0a3-ec4d-4ca3-8cec-669404091463} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:34.217906 [ 49348 ] {c66dd897-51ec-4deb-b23d-d99bf952db7e} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48236) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:34.219781 [ 49348 ] {c66dd897-51ec-4deb-b23d-d99bf952db7e} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:34.687095 [ 49348 ] {e1fbab72-815b-4881-af45-a315c2af3ee2} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48266) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:34.688934 [ 49348 ] {e1fbab72-815b-4881-af45-a315c2af3ee2} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:35.738071 [ 49347 ] {a19efa78-d716-4ad9-b7d6-8a60125192a1} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48324) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:35.740193 [ 49347 ] {a19efa78-d716-4ad9-b7d6-8a60125192a1} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:36.196853 [ 49347 ] {f999f2e0-2dab-4ab4-bbdc-a846751d9eb2} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48348) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:36.198858 [ 49347 ] {f999f2e0-2dab-4ab4-bbdc-a846751d9eb2} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:36.746154 [ 49347 ] {0ba6e947-3e14-455c-a625-5dc091012eeb} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48362) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:36.748181 [ 49347 ] {0ba6e947-3e14-455c-a625-5dc091012eeb} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:37.255200 [ 49347 ] {359ef969-5073-4f37-b794-da85274be148} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48388) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:37.257191 [ 49347 ] {359ef969-5073-4f37-b794-da85274be148} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:37.821440 [ 49347 ] {5d2a80e1-279e-4e85-929d-89b65b8aa30a} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48404) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:37.823567 [ 49347 ] {5d2a80e1-279e-4e85-929d-89b65b8aa30a} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:38.952133 [ 49347 ] {904f9b51-afc4-4921-ab73-133e0a2dfc85} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48436) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:38.953890 [ 49347 ] {904f9b51-afc4-4921-ab73-133e0a2dfc85} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:39.443506 [ 49347 ] {dafd1687-dc80-4011-bb81-2c9f371ea1ee} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48452) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:39.446268 [ 49347 ] {dafd1687-dc80-4011-bb81-2c9f371ea1ee} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:39.889948 [ 49347 ] {0713fcfe-201f-45bb-b3fa-3ee41485a575} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48478) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:39.892016 [ 49347 ] {0713fcfe-201f-45bb-b3fa-3ee41485a575} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:40.431036 [ 49347 ] {70ab6f1b-8d84-4ee3-853b-715b66559767} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48482) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:40.433072 [ 49347 ] {70ab6f1b-8d84-4ee3-853b-715b66559767} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:40.878327 [ 49347 ] {f6623d41-320e-4b19-997f-078108845837} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48496) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:40.880486 [ 49347 ] {f6623d41-320e-4b19-997f-078108845837} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:41.806367 [ 49347 ] {df95309f-5240-41df-a8ae-6616792491ea} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48530) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:41.808197 [ 49347 ] {df95309f-5240-41df-a8ae-6616792491ea} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:42.259631 [ 49347 ] {1fce5975-d525-4eb6-960a-696c0d088cfe} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48546) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:42.261996 [ 49347 ] {1fce5975-d525-4eb6-960a-696c0d088cfe} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:42.785741 [ 49347 ] {974345b7-c8fa-4a63-9c98-824f842830de} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48564) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:42.788513 [ 49347 ] {974345b7-c8fa-4a63-9c98-824f842830de} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:43.346316 [ 49347 ] {096a6a85-8ce3-4524-9659-a4b59c66c0e0} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39402) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:43.348555 [ 49347 ] {096a6a85-8ce3-4524-9659-a4b59c66c0e0} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:43.910354 [ 49347 ] {fc3b4c25-468b-4f56-92d1-dc0e4ea59c67} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39424) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:43.912297 [ 49347 ] {fc3b4c25-468b-4f56-92d1-dc0e4ea59c67} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:44.928582 [ 49347 ] {86ce88be-994d-401f-876e-3b6cad7fc43b} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39458) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:44.930616 [ 49347 ] {86ce88be-994d-401f-876e-3b6cad7fc43b} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:45.402214 [ 49347 ] {0ba68c52-81d7-4c37-af91-35c81405a5af} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39474) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:45.404646 [ 49347 ] {0ba68c52-81d7-4c37-af91-35c81405a5af} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:45.873933 [ 49347 ] {3ecd423f-683d-42ce-a168-6c2550a2e13d} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39482) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:45.876382 [ 49347 ] {3ecd423f-683d-42ce-a168-6c2550a2e13d} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:46.397263 [ 49347 ] {f6d59a4d-3557-4c8b-8c3e-1c7aad1a3209} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39504) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:46.399286 [ 49347 ] {f6d59a4d-3557-4c8b-8c3e-1c7aad1a3209} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:46.911869 [ 49347 ] {5407dead-d387-4556-8f78-c4e9ff6543c7} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39514) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:46.914762 [ 49347 ] {5407dead-d387-4556-8f78-c4e9ff6543c7} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:47.858721 [ 49348 ] {50724579-76e0-4dcb-9ca5-846db568e9cb} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39558) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:47.861905 [ 49348 ] {50724579-76e0-4dcb-9ca5-846db568e9cb} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afac1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:56.225387 [ 49348 ] {003563e2-b838-4ed2-9e24-2503aa8c0b24} executeQuery: Code: 336. DB::Exception: Ordinary database engine is deprecated (see also allow_deprecated_database_ordinary setting). (UNKNOWN_DATABASE_ENGINE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38694) (comment: 01114_database_atomic.sh) (in query: CREATE DATABASE test_01114_1 ENGINE=Ordinary), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [93]) @ 0x00000000353e8737 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000394370ec in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000003942bd82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:280: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039397e12 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:56:56.229346 [ 49348 ] {003563e2-b838-4ed2-9e24-2503aa8c0b24} TCPHandler: Code: 336. DB::Exception: Ordinary database engine is deprecated (see also allow_deprecated_database_ordinary setting). (UNKNOWN_DATABASE_ENGINE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [93]) @ 0x00000000353e8737 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000394370ec in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000003942bd82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:280: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039397e12 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:52.270588 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.12.17 03:57:52.271074 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.12.17 03:57:52.271489 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} Application: Connection to mysql failed 1 times 2024.12.17 03:57:52.272082 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.12.17 03:57:52.272180 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.12.17 03:57:52.272228 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} Application: Connection to mysql failed 2 times 2024.12.17 03:57:52.272492 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.12.17 03:57:52.272576 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.12.17 03:57:52.272614 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} Application: Connection to mysql failed 3 times 2024.12.17 03:57:52.967810 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} executeQuery: Code: 501. DB::Exception: Cannot create MySQL database, because Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x0000000049c2475a in /usr/bin/clickhouse 2. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x00000000395022d5 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x00000000394fb9a7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::DatabaseMySQL::empty() const @ 0x00000000394fa658 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x00000000394f96d5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x0000000039442a07 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x0000000039431607 in /usr/bin/clickhouse 8. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000003942bd82 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:280: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039397e12 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)). (CANNOT_CREATE_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53860) (comment: 01114_mysql_database_engine_segfault.sql) (in query: CREATE DATABASE conv_main ENGINE = MySQL('127.0.0.1:3456', conv_main, 'metrika', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:266: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x0000000039439618 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000003942bd82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:280: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039397e12 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:52.970099 [ 49349 ] {545cf430-00c2-4118-ad68-2f383e74b553} TCPHandler: Code: 501. DB::Exception: Cannot create MySQL database, because Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x0000000049c2475a in /usr/bin/clickhouse 2. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x00000000395022d5 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x00000000394fb9a7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::DatabaseMySQL::empty() const @ 0x00000000394fa658 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x00000000394f96d5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x0000000039442a07 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x0000000039431607 in /usr/bin/clickhouse 8. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000003942bd82 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:280: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039397e12 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 20. ? @ 0x00007fe21c2faac3 in ? 21. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)). (CANNOT_CREATE_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:266: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x0000000039439618 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000003942bd82 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:280: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000039397e12 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x0000000039405f54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:55.170273 [ 49348 ] {66caf70f-8f6f-4fb1-9f23-6272ea50d05d} executeQuery: Code: 60. DB::Exception: Table `test_01109`.`t3` doesn't exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42260) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES t1 AND t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c943e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:55.172074 [ 49348 ] {66caf70f-8f6f-4fb1-9f23-6272ea50d05d} TCPHandler: Code: 60. DB::Exception: Table `test_01109`.`t3` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c943e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:55.186798 [ 49348 ] {077e63ff-b64c-4300-9e20-e55e85d9c614} executeQuery: Code: 60. DB::Exception: Table `test_01109`.`t4` doesn't exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42260) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES t4 AND t2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8f1e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:55.188724 [ 49348 ] {077e63ff-b64c-4300-9e20-e55e85d9c614} TCPHandler: Code: 60. DB::Exception: Table `test_01109`.`t4` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8f1e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:55.202758 [ 49348 ] {6a438cdb-55aa-47a0-a735-192d66f577e2} executeQuery: Code: 57. DB::Exception: Table test_01109.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42260) (comment: 01109_exchange_tables.sql) (in query: RENAME TABLE t0 TO t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:55.204443 [ 49348 ] {6a438cdb-55aa-47a0-a735-192d66f577e2} TCPHandler: Code: 57. DB::Exception: Table test_01109.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:56.566404 [ 49348 ] {95dd26fe-15ad-42b2-a749-4fcb0a06326b} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42260) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_other_atomic.t3 AND test_01109_ordinary.t4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709cab7 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c884e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:56.568974 [ 49348 ] {95dd26fe-15ad-42b2-a749-4fcb0a06326b} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709cab7 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c884e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:56.862971 [ 49348 ] {ece301e3-b8b4-41fd-ae13-b061123bf032} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42260) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_ordinary.t4 AND test_01109_other_atomic.t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709cab7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:56.865835 [ 49348 ] {ece301e3-b8b4-41fd-ae13-b061123bf032} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709cab7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:56.882159 [ 49348 ] {80be4fe5-d848-4e10-a8da-e3db812dc6d6} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42260) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_ordinary.t4 AND test_01109_ordinary.t4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709cab7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:56.884473 [ 49348 ] {80be4fe5-d848-4e10-a8da-e3db812dc6d6} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c82aab7 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000003709cab7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:57.335385 [ 49348 ] {48ede6de-2405-492a-b11d-b99d8a91c40a} executeQuery: Code: 60. DB::Exception: Table `test_01109_rename_exists`.`t0_tmp` doesn't exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42260) (comment: 01109_exchange_tables.sql) (in query: RENAME TABLE t0_tmp TO t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8f1e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:57:57.338097 [ 49348 ] {48ede6de-2405-492a-b11d-b99d8a91c40a} TCPHandler: Code: 60. DB::Exception: Table `test_01109_rename_exists`.`t0_tmp` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:330: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000371ecf1b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000370c8f1e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afc29f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:08.648332 [ 49349 ] {7c0ef4a7-f44a-4722-89a3-c7613d6a0848} executeQuery: Code: 57. DB::Exception: Table test_j50375ax.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60830) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1_tmp TO replica_01108_2, replica_01108_2_tmp TO replica_01108_3, replica_01108_3_tmp TO replica_01108_4, replica_01108_4_tmp TO replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:08.652081 [ 49349 ] {7c0ef4a7-f44a-4722-89a3-c7613d6a0848} TCPHandler: Code: 57. DB::Exception: Table test_j50375ax.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x00000000361405ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae07af in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/StorageID.h:36: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000039afaac2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x0000000039af5d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:09.990297 [ 49349 ] {2c4e68d1-7068-497d-90fd-51cf693c6b75} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_2 is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60878) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:09.993899 [ 49349 ] {2c4e68d1-7068-497d-90fd-51cf693c6b75} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_2 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:11.130948 [ 49349 ] {b56e00a7-6830-4c5d-99b4-289d3eb499c3} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_3 is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60950) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:11.135003 [ 49349 ] {b56e00a7-6830-4c5d-99b4-289d3eb499c3} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_3 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:12.335480 [ 49349 ] {b21fccf1-ef7e-4328-a396-63c6b6be0fa9} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32786) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:12.339183 [ 49349 ] {b21fccf1-ef7e-4328-a396-63c6b6be0fa9} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:13.308276 [ 751 ] {} test_j50375ax.replica_01108_4_tmp (5574aebf-a6a4-429a-af9b-6d38a9bb1b16): void DB::StorageReplicatedMergeTree::mutationsFinalizingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01108_restart_replicas_rename_deadlock_zookeeper_test_j50375ax/replica_01108_2/replicas/replica). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x000000003bf41f49 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3594: DB::StorageReplicatedMergeTree::mutationsFinalizingTask() @ 0x000000003c0ceeb4 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_4, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c286bdf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003627465e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x000000003627d38e in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003627efb2 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:58:14.016229 [ 49352 ] {5334e3e2-10fb-4b83-aad1-ffa66e877fe2} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_1 is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57842) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:14.020325 [ 49352 ] {5334e3e2-10fb-4b83-aad1-ffa66e877fe2} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_1 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:15.613855 [ 49350 ] {b136f607-8281-45e0-993a-d7ced88c468c} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57904) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:15.618059 [ 49350 ] {b136f607-8281-45e0-993a-d7ced88c468c} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:16.158151 [ 49352 ] {dc8e8891-2aa8-47cb-ac36-53d5576dcf19} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_3 is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57928) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:16.161468 [ 49352 ] {dc8e8891-2aa8-47cb-ac36-53d5576dcf19} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_3 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:17.200945 [ 49350 ] {9138f256-d158-4f19-aacd-b521e7859bc1} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57996) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:17.205180 [ 49350 ] {9138f256-d158-4f19-aacd-b521e7859bc1} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:17.755448 [ 49352 ] {70368efc-db20-496f-ac8f-da691c624a1f} executeQuery: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_4_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58016) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:17.759013 [ 49352 ] {70368efc-db20-496f-ac8f-da691c624a1f} TCPHandler: Code: 36. DB::Exception: Table test_j50375ax.replica_01108_4_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:768: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000039de1270 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000039db9228 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:19.511847 [ 49352 ] {7e02e93e-7d18-4e59-8a46-c24b8297bb40} executeQuery: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_1_tmp does not exist. Maybe you meant replica_01108_1?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58054) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:19.517156 [ 49352 ] {7e02e93e-7d18-4e59-8a46-c24b8297bb40} TCPHandler: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_1_tmp does not exist. Maybe you meant replica_01108_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:20.477484 [ 49352 ] {eb24ead1-cfef-4732-959e-638bbc34cabd} executeQuery: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_2_tmp does not exist. Maybe you meant replica_01108_2?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58074) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_2_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:20.481292 [ 49352 ] {eb24ead1-cfef-4732-959e-638bbc34cabd} TCPHandler: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_2_tmp does not exist. Maybe you meant replica_01108_2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:21.530006 [ 49352 ] {69e0a732-e44b-4aae-9d77-8f9daa404bd5} executeQuery: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_3_tmp does not exist. Maybe you meant replica_01108_3?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58104) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_3_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:21.534465 [ 49352 ] {69e0a732-e44b-4aae-9d77-8f9daa404bd5} TCPHandler: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_3_tmp does not exist. Maybe you meant replica_01108_3?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:22.543146 [ 49352 ] {df88a569-1e95-41c9-b791-abae80371492} executeQuery: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_4_tmp does not exist. Maybe you meant replica_01108_4?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58114) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:22.546933 [ 49352 ] {df88a569-1e95-41c9-b791-abae80371492} TCPHandler: Code: 60. DB::Exception: Table test_j50375ax.replica_01108_4_tmp does not exist. Maybe you meant replica_01108_4?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000009478dbe in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000372008f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000039dd584d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000039db6e82 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 17. ? @ 0x00007fe21c2faac3 in ? 18. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:38.471168 [ 50188 ] {03af6ed7-b3c2-4f6e-8282-6d3228514f4d} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60968) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:38.471199 [ 50190 ] {ee9dba23-725a-4dc7-846c-c3c325d6016b} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60988) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:38.476021 [ 50190 ] {ee9dba23-725a-4dc7-846c-c3c325d6016b} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:38.476953 [ 50188 ] {03af6ed7-b3c2-4f6e-8282-6d3228514f4d} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:38.894010 [ 50189 ] {e72904d3-2811-4da2-81c3-978bff1ba7d8} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32802) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:38.898991 [ 50189 ] {e72904d3-2811-4da2-81c3-978bff1ba7d8} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:39.196265 [ 50188 ] {86c423b5-8686-4c39-b12d-6989db3a44cc} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32858) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:39.200705 [ 50188 ] {86c423b5-8686-4c39-b12d-6989db3a44cc} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:39.264987 [ 50195 ] {07d35085-e581-47aa-af4d-17d729f7a1d1} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32890) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:39.269036 [ 50195 ] {07d35085-e581-47aa-af4d-17d729f7a1d1} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:40.371459 [ 50188 ] {6530cd9b-18f5-4c29-8d02-4ab5618accb6} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32950) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:40.378101 [ 50188 ] {6530cd9b-18f5-4c29-8d02-4ab5618accb6} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:40.798421 [ 50191 ] {617e1320-2d11-4afa-a427-cbeede6d2b3f} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33016) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:40.802563 [ 50191 ] {617e1320-2d11-4afa-a427-cbeede6d2b3f} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:41.165233 [ 50190 ] {0a66c2f9-6778-471f-85d2-c4a2f8b670c4} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33058) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:41.169793 [ 50190 ] {0a66c2f9-6778-471f-85d2-c4a2f8b670c4} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:41.786077 [ 50191 ] {241f21d7-1bc1-4cca-9c44-7e9f33dc9d53} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33118) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:41.791195 [ 50191 ] {241f21d7-1bc1-4cca-9c44-7e9f33dc9d53} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:42.228747 [ 50191 ] {3d8666b5-7acd-43fe-8345-24f72b2f1a6b} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33178) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:42.232716 [ 50191 ] {3d8666b5-7acd-43fe-8345-24f72b2f1a6b} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:42.922864 [ 50196 ] {6730872a-5455-4faf-85d9-cd5ef5e40dea} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33212) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:42.930354 [ 50196 ] {6730872a-5455-4faf-85d9-cd5ef5e40dea} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:43.393285 [ 50191 ] {bf4ef5cd-d8a4-4827-8b5f-0d54121441a7} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44540) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:43.398125 [ 50191 ] {bf4ef5cd-d8a4-4827-8b5f-0d54121441a7} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:43.555699 [ 50190 ] {f970dfb8-7c21-4433-82ee-ed59e98fca43} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44542) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:43.559681 [ 50190 ] {f970dfb8-7c21-4433-82ee-ed59e98fca43} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:43.800519 [ 50195 ] {c76921b1-f085-4171-b5a5-0133f731f962} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44570) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:43.804207 [ 50195 ] {c76921b1-f085-4171-b5a5-0133f731f962} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:44.248115 [ 50190 ] {d18835cd-ede8-4277-9b3a-5cea9b00e2db} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44622) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:44.253046 [ 50190 ] {d18835cd-ede8-4277-9b3a-5cea9b00e2db} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:44.864111 [ 50190 ] {d1b75358-4ca6-4853-8962-65a816e067a3} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44720) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:44.869508 [ 50190 ] {d1b75358-4ca6-4853-8962-65a816e067a3} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:45.198898 [ 50192 ] {81b3e27b-5c4a-4fcb-94a0-d9162cac2d6b} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44768) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:45.203886 [ 50192 ] {81b3e27b-5c4a-4fcb-94a0-d9162cac2d6b} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:45.742960 [ 919 ] {c22d5c0d-c2e4-4f12-9b03-d887ebd56647::all_0_12_14_10} c22d5c0d-c2e4-4f12-9b03-d887ebd56647::all_0_12_14_10 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_12_14_10 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.12.17 03:58:45.765462 [ 928 ] {5156a8f6-344e-40f5-94e2-e3ccb1490d91::all_0_12_14_10} 5156a8f6-344e-40f5-94e2-e3ccb1490d91::all_0_12_14_10 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_12_14_10 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.12.17 03:58:45.974588 [ 49348 ] {ddadc98b-868a-484e-a7bc-63b35fc99e49} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44858) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:45.980151 [ 49348 ] {ddadc98b-868a-484e-a7bc-63b35fc99e49} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:46.404296 [ 50196 ] {849af231-e8ae-477e-a84a-b114f383744c} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44920) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:46.408099 [ 50196 ] {849af231-e8ae-477e-a84a-b114f383744c} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:46.434260 [ 49348 ] {84643331-ae82-4b0c-b358-fbe48aa7cd58} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44916) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:46.438543 [ 49348 ] {84643331-ae82-4b0c-b358-fbe48aa7cd58} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:47.584106 [ 49350 ] {0a9ce4a6-eadf-4676-b974-a9d2bf92da89} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45022) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:47.589012 [ 49350 ] {0a9ce4a6-eadf-4676-b974-a9d2bf92da89} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:48.060683 [ 49350 ] {6c2e7e83-4447-4132-aed8-8cf52657e816} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45056) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:48.066246 [ 49350 ] {6c2e7e83-4447-4132-aed8-8cf52657e816} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:48.111353 [ 929 ] {c22d5c0d-c2e4-4f12-9b03-d887ebd56647::all_0_16_17_17} c22d5c0d-c2e4-4f12-9b03-d887ebd56647::all_0_16_17_17 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_16_17_17 from 1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.12.17 03:58:48.475292 [ 49350 ] {f8acc170-8b0b-41f5-8c58-4a7bac1b8e2f} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45112) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:48.479473 [ 49350 ] {f8acc170-8b0b-41f5-8c58-4a7bac1b8e2f} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:48.617100 [ 50189 ] {e3d889d7-a9fc-4aba-a4f6-15369cec44a0} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45148) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:48.621078 [ 50189 ] {e3d889d7-a9fc-4aba-a4f6-15369cec44a0} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:49.157322 [ 50189 ] {c794644b-d4d0-4dc1-b302-e52274e381d0} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45200) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:49.161019 [ 50189 ] {c794644b-d4d0-4dc1-b302-e52274e381d0} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:49.844149 [ 50191 ] {adedcd4f-fa91-47d9-bca2-98eccb1970bd} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45252) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:49.848223 [ 50191 ] {adedcd4f-fa91-47d9-bca2-98eccb1970bd} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:50.712666 [ 50189 ] {c5b58d62-d5f6-41ef-b71f-88edb48f0c91} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45348) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:50.716904 [ 50189 ] {c5b58d62-d5f6-41ef-b71f-88edb48f0c91} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:50.946851 [ 29470 ] {9ad3b5f9-71e0-47a6-8517-069b6cdee262} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45356) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:50.950508 [ 29470 ] {9ad3b5f9-71e0-47a6-8517-069b6cdee262} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:51.428125 [ 50188 ] {96b4ede8-b29d-4a7e-8a88-43c525e1b142} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45422) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:51.432355 [ 50188 ] {96b4ede8-b29d-4a7e-8a88-43c525e1b142} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:51.852710 [ 50195 ] {127fdd93-972e-4539-995c-a45b38f3453a} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45452) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:51.856364 [ 50195 ] {127fdd93-972e-4539-995c-a45b38f3453a} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:51.986085 [ 49347 ] {2ec556cb-48e7-4ca7-8c54-5a888c31aaf2} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45476) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:51.990069 [ 49347 ] {2ec556cb-48e7-4ca7-8c54-5a888c31aaf2} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:52.262272 [ 49348 ] {c72b0100-ac1d-4907-845d-44ab90ac6cef} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45516) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:52.266535 [ 49348 ] {c72b0100-ac1d-4907-845d-44ab90ac6cef} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:52.587420 [ 50190 ] {6efd2695-5dce-4667-b9da-4a9f84b9cd33} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45530) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:52.591618 [ 50190 ] {6efd2695-5dce-4667-b9da-4a9f84b9cd33} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:52.976467 [ 50190 ] {86d12951-b77f-4ddc-b596-6fd963e40499} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45580) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:52.999956 [ 50190 ] {86d12951-b77f-4ddc-b596-6fd963e40499} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:53.494866 [ 29470 ] {a0d2d057-afd9-427c-b1c4-22b7dcbfa785} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51684) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:53.499597 [ 29470 ] {a0d2d057-afd9-427c-b1c4-22b7dcbfa785} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.263895 [ 50190 ] {2c186724-9518-460c-bd59-a210baf781b5} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51736) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.268017 [ 50190 ] {2c186724-9518-460c-bd59-a210baf781b5} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.300507 [ 50192 ] {a26d53dd-964f-4f1d-ad82-340d3f5883e3} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51748) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.305076 [ 50192 ] {a26d53dd-964f-4f1d-ad82-340d3f5883e3} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.707218 [ 50191 ] {1c8c6ad6-9b79-4d6e-a2d7-7781272d1e37} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51794) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.710696 [ 50191 ] {1c8c6ad6-9b79-4d6e-a2d7-7781272d1e37} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.954517 [ 50189 ] {fd4dbfc2-ff17-42b1-ab8e-df053c14e278} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51846) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:54.958708 [ 50189 ] {fd4dbfc2-ff17-42b1-ab8e-df053c14e278} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:55.568734 [ 50191 ] {a23320c3-bc46-4b97-bee6-629ff3f9d73d} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51924) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:55.573641 [ 50191 ] {a23320c3-bc46-4b97-bee6-629ff3f9d73d} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:55.763523 [ 50195 ] {ea7a608c-6bcb-445e-b9cc-77a4f6d30600} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51944) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:55.769403 [ 50195 ] {ea7a608c-6bcb-445e-b9cc-77a4f6d30600} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:56.326442 [ 50195 ] {be887010-8971-4479-9392-5d0bfbda6cb2} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51994) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:56.330469 [ 50195 ] {be887010-8971-4479-9392-5d0bfbda6cb2} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:58.125559 [ 50190 ] {be432853-586b-4e52-8f0c-366504bcde1b} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52190) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:58.130083 [ 50190 ] {be432853-586b-4e52-8f0c-366504bcde1b} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:58.800000 [ 50192 ] {70fcacea-a4ae-41a4-a1fc-00f01e68854a} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52308) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:58.803620 [ 50191 ] {22c6eef9-fd57-4e38-b575-6ac7490a2940} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52312) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:58.804727 [ 50192 ] {70fcacea-a4ae-41a4-a1fc-00f01e68854a} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:58.806802 [ 50191 ] {22c6eef9-fd57-4e38-b575-6ac7490a2940} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:59.138616 [ 50189 ] {40ac1132-e9b3-436f-bda0-32ac0d6f8394} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52340) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:59.142256 [ 50189 ] {40ac1132-e9b3-436f-bda0-32ac0d6f8394} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:59.627887 [ 50189 ] {8e80a3c1-58e5-4b57-85e9-105dd174e765} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52394) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:58:59.632804 [ 50189 ] {8e80a3c1-58e5-4b57-85e9-105dd174e765} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:00.263517 [ 49348 ] {5621230b-c793-4d01-b484-d7c22688c42c} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52452) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:00.268161 [ 49348 ] {5621230b-c793-4d01-b484-d7c22688c42c} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:00.315507 [ 49347 ] {5b6ab742-0d14-41d7-b8a4-cca939d32cd1} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52480) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:00.320283 [ 49347 ] {5b6ab742-0d14-41d7-b8a4-cca939d32cd1} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:00.989923 [ 50187 ] {63e72074-6bcf-41f4-adb5-c16fe914381c} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52530) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:00.993826 [ 50187 ] {63e72074-6bcf-41f4-adb5-c16fe914381c} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:01.210753 [ 50190 ] {12edf4fb-413d-410d-bae0-3bd736e7bbb1} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52552) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:01.215215 [ 50190 ] {12edf4fb-413d-410d-bae0-3bd736e7bbb1} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:01.839428 [ 50190 ] {6b642609-ce4c-4c70-989a-a54ef89c0a67} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52622) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:01.843119 [ 50190 ] {6b642609-ce4c-4c70-989a-a54ef89c0a67} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:01.941203 [ 50189 ] {9399dabb-4969-4d86-8904-04ee164f6e03} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52652) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:01.945098 [ 50189 ] {9399dabb-4969-4d86-8904-04ee164f6e03} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:02.064450 [ 49348 ] {89e21b50-24dc-4ba7-8d4b-83b2738709b5} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52674) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:02.068868 [ 49348 ] {89e21b50-24dc-4ba7-8d4b-83b2738709b5} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:02.480776 [ 50189 ] {c82687aa-d80d-4dc9-a3b5-84f63bb30afd} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52708) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:02.486063 [ 50189 ] {c82687aa-d80d-4dc9-a3b5-84f63bb30afd} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:03.367417 [ 50190 ] {c394a733-7ba6-418e-8a65-15d0c7963ca1} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38156) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:03.374006 [ 50190 ] {c394a733-7ba6-418e-8a65-15d0c7963ca1} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:03.612208 [ 50187 ] {37e0ea0f-f1f8-4ee2-aaca-9f96066565db} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38184) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:03.618071 [ 50187 ] {37e0ea0f-f1f8-4ee2-aaca-9f96066565db} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:04.022057 [ 50190 ] {a1384336-3993-402a-af22-7604243ae9ed} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38238) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:04.026826 [ 50190 ] {a1384336-3993-402a-af22-7604243ae9ed} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:04.226008 [ 49348 ] {6e0cbc2f-8e01-4218-b28e-a099e2db7095} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38276) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:04.230543 [ 49348 ] {6e0cbc2f-8e01-4218-b28e-a099e2db7095} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:04.340598 [ 50188 ] {52d10859-1357-43d8-b17f-6ea60f88b527} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38280) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:04.344298 [ 50188 ] {52d10859-1357-43d8-b17f-6ea60f88b527} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:05.135497 [ 49348 ] {27d28e30-a0fd-4988-ab4f-1b7e7f1c5b6b} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38374) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:05.140199 [ 49348 ] {27d28e30-a0fd-4988-ab4f-1b7e7f1c5b6b} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:05.790913 [ 50196 ] {ed0264ab-5b94-40ee-b3be-86cd75363a56} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38440) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:05.795146 [ 50196 ] {ed0264ab-5b94-40ee-b3be-86cd75363a56} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:05.898536 [ 50188 ] {cfabd43d-1ab8-4479-90c1-15c64ad9f3b1} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38462) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:05.902679 [ 50188 ] {cfabd43d-1ab8-4479-90c1-15c64ad9f3b1} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:06.183749 [ 50188 ] {adb3403e-bff2-41ae-8815-35567f528c5b} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38504) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:06.187974 [ 50188 ] {adb3403e-bff2-41ae-8815-35567f528c5b} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:06.941307 [ 50195 ] {ddbdaa2e-e558-4b93-861d-c1a80691d987} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38582) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:06.946737 [ 50195 ] {ddbdaa2e-e558-4b93-861d-c1a80691d987} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:07.181945 [ 928 ] {5156a8f6-344e-40f5-94e2-e3ccb1490d91::all_0_23_52_34} 5156a8f6-344e-40f5-94e2-e3ccb1490d91::all_0_23_52_34 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_23_52_34 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.12.17 03:59:07.182817 [ 925 ] {c22d5c0d-c2e4-4f12-9b03-d887ebd56647::all_0_23_52_34} c22d5c0d-c2e4-4f12-9b03-d887ebd56647::all_0_23_52_34 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_23_52_34 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.12.17 03:59:07.541714 [ 29470 ] {dd40b5c5-7322-4efd-9d09-2c08c1500106} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38638) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:07.546142 [ 29470 ] {dd40b5c5-7322-4efd-9d09-2c08c1500106} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000943965b in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 03:59:07.603936 [ 50192 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:38636). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 03:59:07.605242 [ 29470 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:38638). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:00:40.868396 [ 49348 ] {de55b883-5063-4735-8262-7676b3584da9} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary db_01048.t_01048 as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51282) (comment: 01048_exists_query.sql) (in query: -- But dictionary-tables cannot be dropped as usual tables. DROP TABLE db_01048.t_01048;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDictionary.cpp:0: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000003bb41ad4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039648422 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:00:40.871707 [ 49348 ] {de55b883-5063-4735-8262-7676b3584da9} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary db_01048.t_01048 as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a756875 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDictionary.cpp:0: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000003bb41ad4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000039648422 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x0000000039644367 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039642760 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:00:56.917512 [ 50188 ] {query1} executeQuery: Code: 517. DB::Exception: Cannot DROP PARTITION in test_vy8na8kg.src after copying partition to test_vy8na8kg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59178) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:7830: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003c203a10 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf386b5 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:00:56.922397 [ 50188 ] {query1} TCPHandler: Code: 517. DB::Exception: Cannot DROP PARTITION in test_vy8na8kg.src after copying partition to test_vy8na8kg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:7830: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003c203a10 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf386b5 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:00:57.763291 [ 43388 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:04.052467 [ 43371 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:05.735276 [ 3427 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:08.547656 [ 3213 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:10.427221 [ 29470 ] {query1} executeQuery: Code: 517. DB::Exception: Cannot DROP PARTITION in test_vy8na8kg.src after copying partition to test_vy8na8kg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46940) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:7830: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003c203a10 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf386b5 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:10.433327 [ 29470 ] {query1} TCPHandler: Code: 517. DB::Exception: Cannot DROP PARTITION in test_vy8na8kg.src after copying partition to test_vy8na8kg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:7830: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003c203a10 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf386b5 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:11.154037 [ 3720 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:13.848507 [ 3797 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:15.865075 [ 50196 ] {query1} executeQuery: Code: 517. DB::Exception: Cannot DROP PARTITION in test_vy8na8kg.src after copying partition to test_vy8na8kg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51434) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:7830: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003c203a10 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf386b5 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:15.870353 [ 50196 ] {query1} TCPHandler: Code: 517. DB::Exception: Cannot DROP PARTITION in test_vy8na8kg.src after copying partition to test_vy8na8kg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:7830: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003c203a10 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf386b5 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f8cc8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:22.326984 [ 41804 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:24.973183 [ 43246 ] {query2} test_vy8na8kg.src (0b2aa98b-abff-4a66-94ae-14514b846437): checkPartAndAddToZooKeeper: node /clickhouse/01035_concurrent_move_partition_from_table_zookeeper_test_vy8na8kg/src/replicas/1/parts/1_2_2_0 already exists. Will not commit any nodes. 2024.12.17 04:01:26.338536 [ 29470 ] {query3} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:57858). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57858) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: SELECT * FROM src), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:26.342711 [ 29470 ] {query3} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:57858). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:01:26.343442 [ 29470 ] {query3} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:57858). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:26.345077 [ 29470 ] {query3} TCPHandler: Client has gone away. 2024.12.17 04:01:36.607103 [ 3824 ] {e8013e15-cf71-4f69-85b9-7d044ccc0c4f} ExternalDictionariesLoader: Could not load external dictionary 'dce9e6a9-9803-4533-93cd-e119f801ccbe', next update is scheduled at 2024-12-17 04:01:41: Code: 60. DB::Exception: Table database_for_dict.non_existing_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x000000002b0ac00b in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x000000002b0abd95 in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x000000002b3d5604 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3d4621 in /usr/bin/clickhouse 19. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d15ec in /usr/bin/clickhouse 20. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3cd614 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 22. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:01:36.611478 [ 29470 ] {e8013e15-cf71-4f69-85b9-7d044ccc0c4f} executeQuery: Code: 60. DB::Exception: Table database_for_dict.non_existing_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41972) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) FROM database_for_dict.dict4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x000000002b0ac00b in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x000000002b0abd95 in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x000000002b3d5604 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3d4621 in /usr/bin/clickhouse 19. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d15ec in /usr/bin/clickhouse 20. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3cd614 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 22. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 04:01:36.614009 [ 29470 ] {e8013e15-cf71-4f69-85b9-7d044ccc0c4f} TCPHandler: Code: 60. DB::Exception: Table database_for_dict.non_existing_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093c6055 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000003720069c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ad2402 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037ae4e83 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e6a058 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x000000002b0ac00b in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x000000002b0abd95 in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x000000002b3d5604 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3d4621 in /usr/bin/clickhouse 19. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3d15ec in /usr/bin/clickhouse 20. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3cd614 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000003526f891 in /usr/bin/clickhouse 22. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000003526c537 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038cb4164 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038cbff80 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cdc9a5 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cd39d5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ce81ba in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038ce7c9f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 31. ? @ 0x00007fe21c2faac3 in ? 2024.12.17 04:01:37.291280 [ 29470 ] {80246567-645b-4e41-b610-3a9137317814} executeQuery: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41972) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e68e9a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:37.294314 [ 29470 ] {80246567-645b-4e41-b610-3a9137317814} TCPHandler: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e68e9a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:37.316111 [ 29470 ] {8bd3dfb3-6023-4287-83c7-59cec42960f6} executeQuery: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41972) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e68e9a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:37.318210 [ 29470 ] {8bd3dfb3-6023-4287-83c7-59cec42960f6} TCPHandler: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e68e9a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:37.340586 [ 29470 ] {be2c74b6-8c86-4204-b132-af8aa513ada0} executeQuery: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41972) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e68e9a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:37.343037 [ 29470 ] {be2c74b6-8c86-4204-b132-af8aa513ada0} TCPHandler: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ade85c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378fc2ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e68e9a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:40.948158 [ 49347 ] {81360476-d60a-4b4b-915e-df358cb2c7d8} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41994) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:40.974336 [ 49347 ] {81360476-d60a-4b4b-915e-df358cb2c7d8} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:41.053227 [ 52690 ] {ef562825-2eb2-43d5-bab0-44482c829a33} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42126) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:41.061183 [ 52691 ] {9c04b55c-c303-437f-9ea9-75bbadc5905f} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42128) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:41.066586 [ 52691 ] {9c04b55c-c303-437f-9ea9-75bbadc5905f} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:41.070084 [ 52690 ] {ef562825-2eb2-43d5-bab0-44482c829a33} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:42.230249 [ 52679 ] {d7d607e4-b048-4344-8373-b3ea1aaa9ed7} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42258) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:42.247690 [ 52679 ] {d7d607e4-b048-4344-8373-b3ea1aaa9ed7} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:42.381447 [ 50188 ] {cbaff506-f150-4c53-9718-414ed4a2ab18} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42234) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:42.391914 [ 50188 ] {cbaff506-f150-4c53-9718-414ed4a2ab18} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000003c2b9897 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c146a8f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f9ab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:42.826378 [ 50191 ] {14f179ba-3c14-4734-a22c-8b480a9646e0} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42394) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:42.847184 [ 50191 ] {14f179ba-3c14-4734-a22c-8b480a9646e0} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.085699 [ 52681 ] {af5cd297-df88-482c-a51b-e931f877ea2b} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42408) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.090252 [ 52681 ] {af5cd297-df88-482c-a51b-e931f877ea2b} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.123574 [ 52683 ] {34a22ee6-15bc-4725-b6b5-15cc5c2121f4} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42444) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.130101 [ 52683 ] {34a22ee6-15bc-4725-b6b5-15cc5c2121f4} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.162289 [ 917 ] {4138f0fd-8169-4693-a917-65f46311ce0f::-5_0_0_0_1} 4138f0fd-8169-4693-a917-65f46311ce0f::-5_0_0_0_1 (MutateFromLogEntryTask): Code: 40. DB::Exception: Part -5_0_0_0_1 from r2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)). Data after mutation is not byte-identical to data on another replicas. We will download merged part from replica to force byte-identical result. 2024.12.17 04:01:43.675399 [ 52682 ] {7246c892-cfac-4e60-b9d7-749715731e4a} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48072) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.680283 [ 52682 ] {7246c892-cfac-4e60-b9d7-749715731e4a} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.819660 [ 49347 ] {d8f9f2da-f779-4b12-a3cf-420c05d58651} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48104) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.837151 [ 49347 ] {d8f9f2da-f779-4b12-a3cf-420c05d58651} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.909846 [ 49348 ] {d21160a2-a166-4747-a7d4-feab14682d2b} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48124) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:43.914712 [ 49348 ] {d21160a2-a166-4747-a7d4-feab14682d2b} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:44.498167 [ 52715 ] {29a93cea-5e4f-448d-9202-b8a3081c46a9} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48174) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:44.523281 [ 52715 ] {29a93cea-5e4f-448d-9202-b8a3081c46a9} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:44.623458 [ 49347 ] {fc10795f-bec3-4897-95d1-3ac8397efe75} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48190) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:44.630095 [ 49347 ] {fc10795f-bec3-4897-95d1-3ac8397efe75} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:44.754249 [ 49348 ] {3070b281-fade-4cf2-b24d-dd889f30525a} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48204) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:44.772977 [ 49348 ] {3070b281-fade-4cf2-b24d-dd889f30525a} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:45.354347 [ 52686 ] {0ac2dfe6-42e8-4a2b-bfaa-5c84a6e02cbd} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48276) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:45.370570 [ 52686 ] {0ac2dfe6-42e8-4a2b-bfaa-5c84a6e02cbd} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:45.445400 [ 52682 ] {7a45db51-424e-43eb-a53a-c5bfa34026ea} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48320) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:45.449130 [ 52683 ] {b6e14277-623f-45e0-b19a-ca11f3a604e6} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48326) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:45.453493 [ 52682 ] {7a45db51-424e-43eb-a53a-c5bfa34026ea} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:45.468100 [ 52683 ] {b6e14277-623f-45e0-b19a-ca11f3a604e6} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:46.141943 [ 52685 ] {cdacd64e-0961-435a-a98c-6b770c242e67} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48390) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:46.166608 [ 52685 ] {cdacd64e-0961-435a-a98c-6b770c242e67} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:46.280726 [ 52684 ] {edf2a15b-c67a-49bc-b7e0-0f97f09dddf8} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48422) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:46.313271 [ 52683 ] {8866b664-6500-42db-a655-4530162b6b87} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48408) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:46.315722 [ 52684 ] {edf2a15b-c67a-49bc-b7e0-0f97f09dddf8} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:46.323361 [ 52683 ] {8866b664-6500-42db-a655-4530162b6b87} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.001258 [ 52716 ] {037b44fa-9a0d-464f-ab94-c2cc2515de3e} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48488) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.011471 [ 52716 ] {037b44fa-9a0d-464f-ab94-c2cc2515de3e} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.082562 [ 52684 ] {2274dcc5-a2e0-480b-a512-53e9c1da5d7e} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48498) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.088040 [ 52684 ] {2274dcc5-a2e0-480b-a512-53e9c1da5d7e} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.125684 [ 52680 ] {4b381984-d129-430c-9e32-4aa94844b466} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48508) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.144454 [ 52680 ] {4b381984-d129-430c-9e32-4aa94844b466} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.462806 [ 52683 ] {e19f7585-c0f8-4b09-979d-8775d8186948} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48552) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.490178 [ 52683 ] {e19f7585-c0f8-4b09-979d-8775d8186948} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.984696 [ 50191 ] {247bd06a-aab7-49a5-ba21-a119ceee5cae} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48630) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:47.988580 [ 50191 ] {247bd06a-aab7-49a5-ba21-a119ceee5cae} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.081644 [ 50187 ] {e42a01d0-4bac-4c55-bbf0-701a28f49c44} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48652) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.087969 [ 52715 ] {94a7cf9c-1e9b-4b1d-aae9-b61b711b8bfe} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48620) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.096079 [ 50187 ] {e42a01d0-4bac-4c55-bbf0-701a28f49c44} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.118062 [ 52715 ] {94a7cf9c-1e9b-4b1d-aae9-b61b711b8bfe} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.151103 [ 52685 ] {23cbef1b-e31a-4fbe-9562-1b50f89890e7} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48658) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.159787 [ 49348 ] {435394e9-d70c-4e43-94ac-a5b0ba97613c} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48646) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.164739 [ 49348 ] {435394e9-d70c-4e43-94ac-a5b0ba97613c} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.166888 [ 52685 ] {23cbef1b-e31a-4fbe-9562-1b50f89890e7} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.241066 [ 52683 ] {27fee8aa-730e-4515-9ad2-787fc3b6c846} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48692) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.288985 [ 52683 ] {27fee8aa-730e-4515-9ad2-787fc3b6c846} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.816574 [ 52679 ] {6751c391-190c-4607-a2a1-6f553c5c7780} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48708) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:48.824426 [ 52679 ] {6751c391-190c-4607-a2a1-6f553c5c7780} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.092247 [ 52715 ] {2c3a7f69-04f7-4390-ac7e-e5c666b40ada} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48778) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.097012 [ 52715 ] {2c3a7f69-04f7-4390-ac7e-e5c666b40ada} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.285665 [ 52679 ] {06245e0b-9c07-4acb-963b-79fadfb94bdf} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48818) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.290383 [ 52679 ] {06245e0b-9c07-4acb-963b-79fadfb94bdf} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.317365 [ 50196 ] {a01da15e-dbc3-4659-b337-8c88f56d540a} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48804) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.324919 [ 50191 ] {0c4aa7b8-a940-4254-8303-cc18a7213963} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48806) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.338021 [ 50196 ] {a01da15e-dbc3-4659-b337-8c88f56d540a} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.347738 [ 50191 ] {0c4aa7b8-a940-4254-8303-cc18a7213963} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.424654 [ 52716 ] {5e5b5674-44b1-4485-8c59-b915d3d0f833} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48788) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.450075 [ 52716 ] {5e5b5674-44b1-4485-8c59-b915d3d0f833} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.515587 [ 52680 ] {a1fdb71f-437f-4c0c-b593-505e145805c2} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48836) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.525758 [ 52680 ] {a1fdb71f-437f-4c0c-b593-505e145805c2} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093c0cd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1081: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b92bd9e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395f97e5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395f0b44 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 15. ? @ 0x00007fe21c2faac3 in ? 16. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.926294 [ 52684 ] {8fb05406-8cf5-486f-bcc1-db1e8047580c} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48916) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:49.930474 [ 52684 ] {8fb05406-8cf5-486f-bcc1-db1e8047580c} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001ad42777 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000037515cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039ab8ac1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a2c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:01:50.398108 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48916). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:01:50.398587 [ 52692 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48858). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:01:50.399006 [ 52688 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48948). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::readStringBinary(String&, DB::ReadBuffer&, unsigned long) @ 0x0000000020a05aee in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a47de in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:27.986216 [ 49347 ] {cancel_http_readonly_queries_on_client_close} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40390) (comment: 00834_cancel_http_readonly_queries_on_client_close.sh) (in query: SELECT count() FROM system.numbers ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9afaf5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:27.993569 [ 49347 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9afaf5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:28.245296 [ 49347 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 122. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed72358 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000020d72e0d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000003e11ea27 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000003df8a83e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:290: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df92396 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:28.651796 [ 49347 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a1a90ae in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049d30a7a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d3408f in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049d43bd2 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049d3e8ae in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049cdd45c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:0: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x0000000049c97a79 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/include/Poco/BufferedStreamBuf.h:0: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::sync() @ 0x0000000049be3af5 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:55: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049c998e1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e1193e0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e10da58 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e10c8a0 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 18. ? @ 0x00007fe21c2faac3 in ? 19. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:31.796934 [ 49347 ] {hello} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40430) (comment: 00600_replace_running_query.sh) (in query: SELECT 1, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9afaf5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:31.802763 [ 49347 ] {hello} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1f663d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9afaf5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 16. ? @ 0x00007fe21c2faac3 in ? 17. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:33.054629 [ 52688 ] {42} executeQuery: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58266) (comment: 00600_replace_running_query.sh) (in query: SELECT 43), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x0000000039f99b93 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a998d6d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:33.057166 [ 52688 ] {42} TCPHandler: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x0000000039f99b93 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a998d6d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:33.460080 [ 50191 ] {42} executeQuery: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57774) (comment: 00600_replace_running_query.sh) (in query: SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x0000000039f99b93 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a998d6d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:33.462532 [ 50191 ] {42} DynamicQueryHandler: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9ec915 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x0000000039f99b93 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a998d6d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9ac72e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df821ad in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df8f44e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e10c621 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 14. ? @ 0x00007fe21c2faac3 in ? 15. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:33.551166 [ 49347 ] {42} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58254) (in query: SELECT 2, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:33.555528 [ 49347 ] {42} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:34.579607 [ 49347 ] {42} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36382) (comment: 00600_replace_running_query.sh) (in query: SELECT 3, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:34.588436 [ 49347 ] {42} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a71ea57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039fa1cd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1fa812 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa12a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 9. ? @ 0x00007fe21c2faac3 in ? 10. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:38.839411 [ 50191 ] {31496bec-69aa-411c-8f3e-4d8ce59fc8da} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.31 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 976.56 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36424) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:38.845955 [ 50191 ] {31496bec-69aa-411c-8f3e-4d8ce59fc8da} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.31 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 976.56 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:39.751928 [ 50191 ] {c9f1611e-79a4-4322-a2c8-5cc06b4e9bca} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.43 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36438) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:39.756508 [ 50191 ] {c9f1611e-79a4-4322-a2c8-5cc06b4e9bca} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.43 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:40.393638 [ 50191 ] {d0add7b7-31c4-4694-9f6a-561510f62283} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.91 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36442) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:40.398443 [ 50191 ] {d0add7b7-31c4-4694-9f6a-561510f62283} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.91 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:41.342998 [ 52688 ] {a0ef79ad-305f-4173-8140-f8a47d1aedf0} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40402). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40402) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: DESC TABLE test_s2x6yoah.numbers_100k), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:41.777035 [ 52688 ] {a0ef79ad-305f-4173-8140-f8a47d1aedf0} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40402). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:41.777181 [ 50191 ] {b2d3fe35-93e7-4196-93da-b2c8f826daff} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.38 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36448) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000003ddef409 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x0000000036a870cd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x0000000036a8696d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c58ced9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593559 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 04:02:41.778138 [ 52688 ] {a0ef79ad-305f-4173-8140-f8a47d1aedf0} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40402). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:41.779479 [ 52688 ] {a0ef79ad-305f-4173-8140-f8a47d1aedf0} TCPHandler: Client has gone away. 2024.12.17 04:02:41.782961 [ 50191 ] {b2d3fe35-93e7-4196-93da-b2c8f826daff} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.38 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000003ddef409 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x0000000036a870cd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x0000000036a8696d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c58ced9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593559 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 04:02:42.524785 [ 52688 ] {a504452e-f307-4d3a-b462-db40dd4e4057} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40414). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40414) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: DESC TABLE test_s2x6yoah.numbers_100k), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:42.528247 [ 50191 ] {de48e6c8-d616-4658-be09-cd8870afb5c9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.86 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36454) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000003ddef409 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x0000000036a870cd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x0000000036a8696d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c58ced9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593559 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 04:02:42.529124 [ 52688 ] {a504452e-f307-4d3a-b462-db40dd4e4057} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40414). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:42.529743 [ 52688 ] {a504452e-f307-4d3a-b462-db40dd4e4057} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:40414). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:42.530860 [ 52688 ] {a504452e-f307-4d3a-b462-db40dd4e4057} TCPHandler: Client has gone away. 2024.12.17 04:02:42.533176 [ 50191 ] {de48e6c8-d616-4658-be09-cd8870afb5c9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.86 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000003ddef409 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x0000000036a870cd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x0000000036a8696d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c58ced9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000003c593559 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000349e9419 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000349e702c in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000035313db1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000378ae11d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e699a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000039b23493 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b1ed27 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d868f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d8142e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x0000000039a3e275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a3adea in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a9a0757 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a993d82 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7378 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 2024.12.17 04:02:43.335247 [ 52688 ] {67c6f33a-b2f9-4c93-ad24-2d6093fa34af} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.34 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36460) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:43.358436 [ 52688 ] {67c6f33a-b2f9-4c93-ad24-2d6093fa34af} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.34 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:43.994040 [ 52692 ] {2d256dd9-410f-4aed-944e-f17e96338dba} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.75 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 3.34 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56132) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003834daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038059177 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddd0a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:44.001437 [ 52692 ] {2d256dd9-410f-4aed-944e-f17e96338dba} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56132). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:44.001953 [ 52692 ] {2d256dd9-410f-4aed-944e-f17e96338dba} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.75 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 3.34 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003834daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038059177 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddd0a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:44.003093 [ 52692 ] {2d256dd9-410f-4aed-944e-f17e96338dba} TCPHandler: Client has gone away. 2024.12.17 04:02:44.149438 [ 52688 ] {c29dc144-3476-41f9-a11b-87b2b09b3117} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.81 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57638) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:44.168795 [ 52688 ] {c29dc144-3476-41f9-a11b-87b2b09b3117} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.81 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:44.249743 [ 52684 ] {8f9292f8-b853-47ce-b5f3-9db064d4fd0e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.75 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 3.81 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56140) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003834daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038059177 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddd0a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:44.256366 [ 52684 ] {8f9292f8-b853-47ce-b5f3-9db064d4fd0e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56140). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:44.256982 [ 52684 ] {8f9292f8-b853-47ce-b5f3-9db064d4fd0e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.75 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 3.81 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003834daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038059177 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddd0a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:44.258110 [ 52684 ] {8f9292f8-b853-47ce-b5f3-9db064d4fd0e} TCPHandler: Client has gone away. 2024.12.17 04:02:45.006384 [ 52688 ] {c411570a-bd2e-4b4d-89b9-f2c7bf8cc379} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.29 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57642) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:45.024279 [ 52688 ] {c411570a-bd2e-4b4d-89b9-f2c7bf8cc379} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.29 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:45.113575 [ 52692 ] {0d84b95f-8131-4403-87c5-7c7897e02e0f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.75 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 4.29 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56146) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003834daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038059177 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddd0a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:45.120113 [ 52692 ] {0d84b95f-8131-4403-87c5-7c7897e02e0f} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56146). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:45.120649 [ 52692 ] {0d84b95f-8131-4403-87c5-7c7897e02e0f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.75 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 4.29 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000003834daed in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000038059177 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000037dddd0a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037de9628 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb1ab00 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eb11348 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1fa5be in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1fa02d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e233de6 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:45.121560 [ 52692 ] {0d84b95f-8131-4403-87c5-7c7897e02e0f} TCPHandler: Client has gone away. 2024.12.17 04:02:45.818204 [ 52688 ] {dbaf6ad1-b2f0-4786-a9db-b642563b8414} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.77 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57646) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:45.839787 [ 52688 ] {dbaf6ad1-b2f0-4786-a9db-b642563b8414} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.77 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109b211 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x00000000394508bf in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b175 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:46.201233 [ 52692 ] {dabe5e95-2c36-4f3a-bccd-3be072b01b77} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56160). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56160) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:46.209524 [ 52692 ] {dabe5e95-2c36-4f3a-bccd-3be072b01b77} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56160). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:46.210141 [ 52692 ] {dabe5e95-2c36-4f3a-bccd-3be072b01b77} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56160). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:46.211315 [ 52692 ] {dabe5e95-2c36-4f3a-bccd-3be072b01b77} TCPHandler: Client has gone away. 2024.12.17 04:02:46.594447 [ 52688 ] {074390de-ddbc-46e1-bbf7-6da134a2178f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.25 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57662) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:46.611453 [ 52688 ] {074390de-ddbc-46e1-bbf7-6da134a2178f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.25 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:46.763640 [ 52692 ] {39532193-c87d-494c-85a4-a1936ddfdbec} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56172). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56172) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:46.770445 [ 52692 ] {39532193-c87d-494c-85a4-a1936ddfdbec} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56172). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:46.771049 [ 52692 ] {39532193-c87d-494c-85a4-a1936ddfdbec} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56172). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:46.772100 [ 52692 ] {39532193-c87d-494c-85a4-a1936ddfdbec} TCPHandler: Client has gone away. 2024.12.17 04:02:47.436456 [ 52688 ] {0a9a931e-435e-4c6e-ad9b-33dbfc376dfa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.72 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57666) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:47.457726 [ 52688 ] {0a9a931e-435e-4c6e-ad9b-33dbfc376dfa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.72 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x00000000209a09a2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000002109f8df in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000](Poco::Net::StreamSocket&) @ 0x0000000039450a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000003dd6b6da in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000003dd75ebe in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000003ddd2ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/ConnectionEstablisher.cpp:129: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000003ddd6f3c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:47.593402 [ 52692 ] {0c928c56-7b1f-4bc6-958a-315c6e8af4ad} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56174). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56174) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:47.600855 [ 52692 ] {0c928c56-7b1f-4bc6-958a-315c6e8af4ad} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56174). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:47.601309 [ 52692 ] {0c928c56-7b1f-4bc6-958a-315c6e8af4ad} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56174). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:47.602165 [ 52692 ] {0c928c56-7b1f-4bc6-958a-315c6e8af4ad} TCPHandler: Client has gone away. 2024.12.17 04:02:48.559793 [ 52688 ] {fe614b0c-a874-463a-98f3-85db04acd1c0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.20 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57672) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:0: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac0510 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:48.574733 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44732). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:48.578324 [ 52692 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:56182). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:48.580239 [ 52688 ] {fe614b0c-a874-463a-98f3-85db04acd1c0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.20 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:0: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac0510 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:49.363251 [ 52688 ] {9668fb76-044e-452b-94fe-0d7e97a0c987} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.68 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57686) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:0: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac0510 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:49.396277 [ 52688 ] {9668fb76-044e-452b-94fe-0d7e97a0c987} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.68 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036abc4de in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aba88a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036ab8901 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddefcbd in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003dded3ab in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddef728 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:0: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036ac0510 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:49.443916 [ 52684 ] {249e1a0e-9529-4fd8-bed1-a8362b6a1ea1} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:44744). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44744) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:49.454463 [ 52684 ] {249e1a0e-9529-4fd8-bed1-a8362b6a1ea1} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:44744). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:49.455010 [ 52684 ] {249e1a0e-9529-4fd8-bed1-a8362b6a1ea1} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:44744). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c263a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:49.456031 [ 52684 ] {249e1a0e-9529-4fd8-bed1-a8362b6a1ea1} TCPHandler: Client has gone away. 2024.12.17 04:02:49.467982 [ 52692 ] {d02c2d2b-9acd-4f94-862c-03136d46277d} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56184). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56184) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:49.477763 [ 52692 ] {d02c2d2b-9acd-4f94-862c-03136d46277d} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56184). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:49.478320 [ 52692 ] {d02c2d2b-9acd-4f94-862c-03136d46277d} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56184). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0ca4aa in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0c2f05 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a763f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:49.479426 [ 52692 ] {d02c2d2b-9acd-4f94-862c-03136d46277d} TCPHandler: Client has gone away. 2024.12.17 04:02:50.332489 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44756). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:50.354957 [ 52692 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:56186). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:50.568053 [ 52688 ] {cda5c4f3-4a29-44f3-85a5-9e23d1f8629c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.03 MiB (attempt to allocate chunk of 1148525 bytes), maximum: 7.15 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57702) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc4c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:50.584284 [ 52688 ] {cda5c4f3-4a29-44f3-85a5-9e23d1f8629c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.03 MiB (attempt to allocate chunk of 1148525 bytes), maximum: 7.15 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc4c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:51.346888 [ 52692 ] {f967c211-3f49-4304-9cd5-ad2e7aa41b0d} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56190). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56190) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:51.349858 [ 52692 ] {f967c211-3f49-4304-9cd5-ad2e7aa41b0d} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56190). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:51.350348 [ 52692 ] {f967c211-3f49-4304-9cd5-ad2e7aa41b0d} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56190). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:51.351254 [ 52692 ] {f967c211-3f49-4304-9cd5-ad2e7aa41b0d} TCPHandler: Client has gone away. 2024.12.17 04:02:51.569949 [ 52688 ] {e20eb9de-5f13-44ed-9deb-d4878113fa39} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1275168 bytes), maximum: 7.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57710) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002079f797 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209fbd84 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000368a3e05 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000003e1644b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:51.584567 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44758). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:51.589228 [ 52688 ] {e20eb9de-5f13-44ed-9deb-d4878113fa39} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1275168 bytes), maximum: 7.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002079f797 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209fbd84 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000368a3e05 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000003e1644b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:52.444962 [ 52692 ] {fc8956a2-f084-4471-afc8-330c67174af8} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56206). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56206) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:52.448564 [ 52692 ] {fc8956a2-f084-4471-afc8-330c67174af8} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56206). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:52.449133 [ 52692 ] {fc8956a2-f084-4471-afc8-330c67174af8} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:56206). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:52.450215 [ 52692 ] {fc8956a2-f084-4471-afc8-330c67174af8} TCPHandler: Client has gone away. 2024.12.17 04:02:52.470480 [ 52688 ] {f3cea7d8-0aec-440b-86ce-e6ab778d81b0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1275168 bytes), maximum: 8.11 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57712) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002079f797 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209fbd84 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000368a3e05 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000003e1644b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:52.491475 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44768). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:52.496871 [ 52688 ] {f3cea7d8-0aec-440b-86ce-e6ab778d81b0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1275168 bytes), maximum: 8.11 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002079f797 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209fbd84 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000368a3e05 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000003e1644b6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:53.447922 [ 52678 ] {31921f24-faee-4cc0-a0eb-18eb83c09c26} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40140). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40140) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_s2x6yoah`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:53.451040 [ 52678 ] {31921f24-faee-4cc0-a0eb-18eb83c09c26} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40140). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109f080 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0ec7de in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0c5b6b in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e0a7d4f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 13. ? @ 0x00007fe21c2faac3 in ? 14. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:53.451578 [ 52678 ] {31921f24-faee-4cc0-a0eb-18eb83c09c26} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:40140). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000210a075f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000002109eae2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0c664b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e0a7a29 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 12. ? @ 0x00007fe21c2faac3 in ? 13. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:53.452750 [ 52678 ] {31921f24-faee-4cc0-a0eb-18eb83c09c26} TCPHandler: Client has gone away. 2024.12.17 04:02:53.461779 [ 52692 ] {d62574c3-a680-4535-af33-df375eb07e71} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.25 MiB (attempt to allocate chunk of 1148525 bytes), maximum: 8.58 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57728) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc4c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:53.483482 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:56212). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:53.489301 [ 52692 ] {d62574c3-a680-4535-af33-df375eb07e71} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.25 MiB (attempt to allocate chunk of 1148525 bytes), maximum: 8.58 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc4c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:54.333453 [ 52678 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:40154). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:54.349174 [ 52692 ] {a481a269-4a14-426c-80bc-ab39ce48de8d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.25 MiB (attempt to allocate chunk of 1148525 bytes), maximum: 9.06 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57434) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc4c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:54.367511 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:48960). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:54.372945 [ 52692 ] {a481a269-4a14-426c-80bc-ab39ce48de8d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.25 MiB (attempt to allocate chunk of 1148525 bytes), maximum: 9.06 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc4c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:55.230479 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:48966). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:55.482132 [ 52692 ] {c635963f-d278-4dcf-b074-dd2771717975} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568551 bytes), maximum: 9.54 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57436) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc936 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:55.499302 [ 52678 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:40158). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:55.506960 [ 52692 ] {c635963f-d278-4dcf-b074-dd2771717975} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568551 bytes), maximum: 9.54 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc936 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:56.393477 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:48974). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:56.402389 [ 52692 ] {22185412-5173-4826-91cd-640de8cdc7df} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568551 bytes), maximum: 9.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57452) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc936 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:56.417691 [ 52678 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:40172). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:56.423229 [ 52692 ] {22185412-5173-4826-91cd-640de8cdc7df} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568551 bytes), maximum: 9.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc936 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:57.317839 [ 52678 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:40186). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:57.327316 [ 52692 ] {deffb9c7-3028-41f8-9186-54bc41b6fe9c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 12.74 MiB (attempt to allocate chunk of 2088960 bytes), maximum: 12.02 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57462) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc936 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:57.345480 [ 52684 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:48988). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000002109be39 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000002109a4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e0a5608 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0ed53c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049d46500 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049d47362 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a2cd686 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a2ca4ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a2c7412 in /usr/bin/clickhouse 11. ? @ 0x00007fe21c2faac3 in ? 12. ? @ 0x00007fe21c38ba04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 04:02:57.350809 [ 52692 ] {deffb9c7-3028-41f8-9186-54bc41b6fe9c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 12.74 MiB (attempt to allocate chunk of 2088960 bytes), maximum: 12.02 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002079e2b2 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7ec44f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ecc936 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036eb5bd2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e163574 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e167bb5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000003dd92d8a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000003dd8f44c in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de55b26 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036abe1fc in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036abd9a2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036abd1b6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036abae32 in /usr/bin/clickhouse 2024.12.17 04:02:58.784244 [ 52692 ] {7bfc1870-2a61-457f-85f4-c3e42140eacb} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 15.68 MiB (attempt to allocate chunk of 2034432 bytes), maximum: 14.40 MiB.: While executing MergingAggregatedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57464) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_s2x6yoah.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381ea9ea in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380bd489 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3131: DB::Aggregator::mergeBlocks(std::map>, std::less, std::allocator>>>>, DB::AggregatedDataVariants&, unsigned long) @ 0x0000000037e1eaec in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedTransform.cpp:0: DB::MergingAggregatedTransform::generate() @ 0x000000003f15636a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:93: DB::IAccumulatingTransform::work() @ 0x000000003eb61b08 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:02:58.801250 [ 52692 ] {7bfc1870-2a61-457f-85f4-c3e42140eacb} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 15.68 MiB (attempt to allocate chunk of 2034432 bytes), maximum: 14.40 MiB.: While executing MergingAggregatedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a1994a9 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000208489b3 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x0000000020890930 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088e01c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002088ce8e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x00000000207a8415 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x00000000207a61d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381e9109 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381ea9ea in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380bd489 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3131: DB::Aggregator::mergeBlocks(std::map>, std::less, std::allocator>>>>, DB::AggregatedDataVariants&, unsigned long) @ 0x0000000037e1eaec in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedTransform.cpp:0: DB::MergingAggregatedTransform::generate() @ 0x000000003f15636a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:93: DB::IAccumulatingTransform::work() @ 0x000000003eb61b08 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e228062 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1fbf9d in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1ff356 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b83f73 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b8fd53 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b8fbff in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b7a97b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b8958b in /usr/bin/clickhouse 21. ? @ 0x00007fe21c2faac3 in ? 22. ? @ 0x00007fe21c38ba04 in ? 2024.12.17 04:04:11.072268 [ 664 ] {} Application: Closed all listening sockets. Waiting for 41 outstanding connections. 2024.12.17 04:04:15.980528 [ 664 ] {} Application: Closed connections. But 11 remain. Tip: To increase wait time add to config: 60 2024.12.17 04:04:15.981257 [ 664 ] {} Application: Will shutdown forcefully.